summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-23 20:18:04 +0000
committerDavid Robillard <d@drobilla.net>2013-02-23 20:18:04 +0000
commit2fd5991ae37363b0f92113ca3dddf16a59d71bb7 (patch)
tree0d8b5e5536c186404be1ead924faf6dd66c58ab1
parent94aeeab837a02a07e109598165ab76b765889bd9 (diff)
downloadraul-2fd5991ae37363b0f92113ca3dddf16a59d71bb7.tar.gz
raul-2fd5991ae37363b0f92113ca3dddf16a59d71bb7.tar.bz2
raul-2fd5991ae37363b0f92113ca3dddf16a59d71bb7.zip
Use c++11 method deletion for Noncopyable.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5078 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--raul/Noncopyable.hpp4
1 files 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