From 0b3909463b93f550040914321df1d7d71fa00703 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 3 Apr 2015 17:09:41 +0200 Subject: Replace boost::noncopyable with c++11 delete syntax. --- src/utils/activator.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/utils/activator.hpp') 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 - #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; }; } -- cgit v1.2.3