pool: no copy constructor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f831c16bce
commit
69cc71c749
1
pool.h
1
pool.h
|
@ -12,6 +12,7 @@ namespace accumulator {
|
||||||
class Pool {
|
class Pool {
|
||||||
public:
|
public:
|
||||||
Pool() noexcept {};
|
Pool() noexcept {};
|
||||||
|
Pool(const Pool& pool) = delete; // no copy
|
||||||
~Pool() noexcept = default;
|
~Pool() noexcept = default;
|
||||||
|
|
||||||
// TODO(me): this public setter should be fixed?
|
// TODO(me): this public setter should be fixed?
|
||||||
|
|
Reference in New Issue