Make de/constructor protected in nocopy
This commit is contained in:
parent
eb4a5e2c04
commit
545b4ff3cc
@ -24,8 +24,9 @@
|
|||||||
|
|
||||||
namespace util {
|
namespace util {
|
||||||
class nocopy {
|
class nocopy {
|
||||||
public:
|
protected:
|
||||||
nocopy () { ; }
|
nocopy () { ; }
|
||||||
|
~nocopy () { ; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
nocopy (const nocopy &) = delete;
|
nocopy (const nocopy &) = delete;
|
||||||
|
Loading…
Reference in New Issue
Block a user