summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-26 08:21:17 -0500
committerDavid Robillard <d@drobilla.net>2017-12-26 08:21:17 -0500
commit1751e84a0835938a13b593244ef5c29cfec24bb7 (patch)
treee2e09c71150f1c274c67f845cf09f2c64ff35353 /ingen
parent37729e5b314e39fb750a3fb46a005acdb15b4ac2 (diff)
downloadingen-1751e84a0835938a13b593244ef5c29cfec24bb7.tar.gz
ingen-1751e84a0835938a13b593244ef5c29cfec24bb7.tar.bz2
ingen-1751e84a0835938a13b593244ef5c29cfec24bb7.zip
Use delete to hide constructors
Diffstat (limited to 'ingen')
-rw-r--r--ingen/Module.hpp4
1 files 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