From 2fd5991ae37363b0f92113ca3dddf16a59d71bb7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Feb 2013 20:18:04 +0000 Subject: Use c++11 method deletion for Noncopyable. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5078 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Noncopyable.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raul/Noncopyable.hpp b/raul/Noncopyable.hpp index 83b7fad..29b235d 100644 --- a/raul/Noncopyable.hpp +++ b/raul/Noncopyable.hpp @@ -25,8 +25,8 @@ protected: ~Noncopyable() {} private: - Noncopyable(const Noncopyable&); - const Noncopyable& operator=(const Noncopyable&); + Noncopyable(const Noncopyable&) = delete; + const Noncopyable& operator=(const Noncopyable&) = delete; }; } // namespace Raul -- cgit v1.2.1