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

@@ -29,7 +29,8 @@
#define DEBUG(format,args...)
//#define DEBUG(format,args...) printf("PreviewLoader::%s: " format "\n", __FUNCTION__, ## args)
class PreviewLoader::Impl
class PreviewLoader::Impl :
public rtengine::NonCopyable
{
public:
struct Job {
@@ -81,8 +82,6 @@ public:
threadPool_ = new Glib::ThreadPool(threadCount, 0);
}
Impl(const Impl&) = delete;
Glib::ThreadPool* threadPool_;
MyMutex mutex_;
JobSet jobs_;