diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-28 16:14:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-29 08:51:55 +0200 |
commit | 5d5c4686badbf67aa25b18701f25d90fa8b4e42a (patch) | |
tree | 39d10e1f40b12ee20c50d5eed313d46df054783d /include/canvas/rendering | |
parent | fbff75a64c7449aac85d640f67b1de147db35c3e (diff) |
remove boost::noncopyable from /include
Change-Id: I9fa22b06fabf79043ebc68be7afebc6e810f4db1
Diffstat (limited to 'include/canvas/rendering')
-rw-r--r-- | include/canvas/rendering/irendermodule.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/canvas/rendering/irendermodule.hxx b/include/canvas/rendering/irendermodule.hxx index 2e78d1ee2f19..9eeffa57c828 100644 --- a/include/canvas/rendering/irendermodule.hxx +++ b/include/canvas/rendering/irendermodule.hxx @@ -21,7 +21,6 @@ #define INCLUDED_CANVAS_RENDERING_IRENDERMODULE_HXX #include <sal/types.h> -#include <boost/noncopyable.hpp> #include <memory> namespace basegfx @@ -117,7 +116,7 @@ namespace canvas typedef std::shared_ptr< IRenderModule > IRenderModuleSharedPtr; /// Little RAII wrapper for guarding access to IRenderModule interface - class RenderModuleGuard : private ::boost::noncopyable + class RenderModuleGuard { public: explicit RenderModuleGuard( const IRenderModuleSharedPtr& rRenderModule ) : @@ -131,6 +130,8 @@ namespace canvas mpRenderModule->unlock(); } + RenderModuleGuard(const RenderModuleGuard&) = delete; + RenderModuleGuard& operator=( const RenderModuleGuard& ) = delete; private: const IRenderModuleSharedPtr mpRenderModule; }; |