bugfix: delete copy ctr and copy assign for non-trivial class
parent
ad8fb8e31c
commit
8c3b7a6a87
|
@ -18,6 +18,8 @@ public:
|
||||||
this->N = iN;
|
this->N = iN;
|
||||||
sortStrategy = nullptr;
|
sortStrategy = nullptr;
|
||||||
}
|
}
|
||||||
|
Context(const Context& context) = delete;
|
||||||
|
Context& operator=(const Context&) = delete;
|
||||||
~Context()
|
~Context()
|
||||||
{
|
{
|
||||||
if(sortStrategy)
|
if(sortStrategy)
|
||||||
|
|
Loading…
Reference in New Issue