diff options
author | David Robillard <d@drobilla.net> | 2006-10-16 07:28:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-16 07:28:30 +0000 |
commit | 4e68bf298f9fe4445925b4fe39f28e364a216fd2 (patch) | |
tree | 199cf1eb30a32554cffd5f5aa1ac26ad7bf89dba /raul/Process.h | |
parent | e22d5e4bfa4e5de0cba97c0e1a4ea71de9ecbe48 (diff) | |
download | raul-4e68bf298f9fe4445925b4fe39f28e364a216fd2.tar.gz raul-4e68bf298f9fe4445925b4fe39f28e364a216fd2.tar.bz2 raul-4e68bf298f9fe4445925b4fe39f28e364a216fd2.zip |
Used boost::noncopyable to eliminate undefined private copy constructors spread everywhere.
git-svn-id: http://svn.drobilla.net/lad/raul@182 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Process.h')
-rw-r--r-- | raul/Process.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/raul/Process.h b/raul/Process.h index 698e1b9..68efb10 100644 --- a/raul/Process.h +++ b/raul/Process.h @@ -20,12 +20,14 @@ #include <string> #include <iostream> #include <unistd.h> +#include <boost/utility.hpp> + /** A child process. * * \ingroup raul */ -class Process +class Process : boost::noncopyable { public: @@ -75,10 +77,7 @@ public: } private: - // .... no :) (undefined) - Process(); - Process(const Process&); - Process& operator=(const Process&); + Process() {} }; |