diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2015-04-03 17:09:41 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2015-04-03 17:09:41 +0200 |
commit | 0b3909463b93f550040914321df1d7d71fa00703 (patch) | |
tree | 5993d0136af89cab5303386b8f0ac303a2eee7d0 /src/utils/activator.hpp | |
parent | ad8586d69bdac1a1fa19907f830518875e4acd91 (diff) | |
download | usdx-0b3909463b93f550040914321df1d7d71fa00703.tar.gz usdx-0b3909463b93f550040914321df1d7d71fa00703.tar.xz usdx-0b3909463b93f550040914321df1d7d71fa00703.zip |
Replace boost::noncopyable with c++11 delete syntax.
Diffstat (limited to '')
-rw-r--r-- | src/utils/activator.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/utils/activator.hpp b/src/utils/activator.hpp index d11d7922..7c87d730 100644 --- a/src/utils/activator.hpp +++ b/src/utils/activator.hpp @@ -25,13 +25,11 @@ #ifndef ACTIVATOR_HPP #define ACTIVATOR_HPP -#include <boost/noncopyable.hpp> - #include "activatable.hpp" namespace usdx { - class Activator : public boost::noncopyable + class Activator { private: Activatable* activatable; @@ -39,6 +37,10 @@ namespace usdx public: Activator(Activatable* activatable); virtual ~Activator(); + + /* no copies */ + Activator(const Activator&) = delete; + Activator& operator=(const Activator&) = delete; }; } |