Cppcheck: Solve issues related to copy constructor

This commit is contained in:
heckflosse
2016-10-02 23:33:00 +02:00
parent 8de758f7b6
commit ccd9002c3a
18 changed files with 33 additions and 346 deletions

View File

@@ -80,6 +80,8 @@ public:
threadPool_ = new Glib::ThreadPool(threadCount, 0);
}
Impl(const Impl&) = delete;
Glib::ThreadPool* threadPool_;
MyMutex mutex_;
JobSet jobs_;

View File

@@ -45,6 +45,8 @@ class PreviewLoader
{
public:
PreviewLoader(const PreviewLoader&) = delete;
/**
* @brief Singleton entry point.
*

View File

@@ -176,6 +176,8 @@ private:
public:
ProfileStore();
ProfileStore (const ProfileStore&) = delete;
~ProfileStore();
bool init ();
void parseProfiles ();

View File

@@ -78,6 +78,8 @@ 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...

View File

@@ -46,6 +46,8 @@ class ThumbImageUpdater
public:
ThumbImageUpdater(const ThumbImageUpdater&) = delete;
/**
* @brief Singleton entry point.
*