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