From 1751e84a0835938a13b593244ef5c29cfec24bb7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 26 Dec 2017 08:21:17 -0500 Subject: Use delete to hide constructors --- ingen/Module.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingen/Module.hpp b/ingen/Module.hpp index e1884074..d0065efc 100644 --- a/ingen/Module.hpp +++ b/ingen/Module.hpp @@ -47,8 +47,8 @@ public: Glib::Module* library; private: - Module(const Module& noncopyable); - Module& operator=(const Module& noncopyable); + Module(const Module& noncopyable) = delete; + Module& operator=(const Module& noncopyable) = delete; }; } // namespace Ingen -- cgit v1.2.1