Make de/constructor protected in nocopy

This commit is contained in:
Danny Robson 2012-06-20 16:48:02 +10:00
parent eb4a5e2c04
commit 545b4ff3cc

View File

@ -24,8 +24,9 @@
namespace util {
class nocopy {
public:
nocopy () { ; }
protected:
nocopy () { ; }
~nocopy () { ; }
private:
nocopy (const nocopy &) = delete;