We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be3a50c commit 33ac662Copy full SHA for 33ac662
src/Context.hpp
@@ -54,7 +54,7 @@ namespace kanzi
54
Context(ThreadPool* p = nullptr) : _pool(p) {}
55
Context(const Context& c) : _map(c._map), _pool(c._pool) {}
56
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; };
+ Context& operator=(const Context& c) = default;
58
#else
59
Context() {}
60
Context(const Context& c) : _map(c._map) {}
0 commit comments