Skip to content

Commit 33ac662

Browse files
committed
Use default copy operator
1 parent be3a50c commit 33ac662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace kanzi
5454
Context(ThreadPool* p = nullptr) : _pool(p) {}
5555
Context(const Context& c) : _map(c._map), _pool(c._pool) {}
5656
Context(const Context& c, ThreadPool* p) : _map(c._map), _pool(p) {}
57-
Context& operator=(const Context& c) { _map = c._map; _pool = c._pool; return *this; };
57+
Context& operator=(const Context& c) = default;
5858
#else
5959
Context() {}
6060
Context(const Context& c) : _map(c._map) {}

0 commit comments

Comments
 (0)