From 5b362da37d83421134c97c476e726b44b99f0168 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 30 Jul 2013 04:54:19 +0200 Subject: Also prevent move in nocopy_t --- mmss/types.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmss/types.hpp b/mmss/types.hpp index 36ad77b..668e2c2 100644 --- a/mmss/types.hpp +++ b/mmss/types.hpp @@ -49,6 +49,8 @@ protected: private: nocopy_t(nocopy_t const&) = delete; nocopy_t& operator=(nocopy_t const&) = delete; + nocopy_t(nocopy_t&&) = delete; + nocopy_t& operator=(nocopy_t&&) = delete; }; class context_t; -- cgit v1.2.3