Introduce rtengine/noncopyable.hpp

This commit is contained in:
Flössie
2016-10-08 15:36:44 +02:00
parent 8a2b2e6700
commit d132149a26
20 changed files with 142 additions and 105 deletions

View File

@@ -30,8 +30,8 @@
#define DEBUG(format,args...)
//#define DEBUG(format,args...) printf("ThumbImageUpdate::%s: " format "\n", __FUNCTION__, ## args)
class
ThumbImageUpdater::Impl
class ThumbImageUpdater::Impl :
public rtengine::NonCopyable
{
public:
@@ -78,8 +78,6 @@ public:
threadPool_ = new Glib::ThreadPool(threadCount, 0);
}
Impl(const Impl&) = delete;
Glib::ThreadPool* threadPool_;
// Need to be a Glib::Threads::Mutex because used in a Glib::Threads::Cond object...