Cppcheck: Solve issues related to copy constructor
This commit is contained in:
@@ -80,6 +80,8 @@ public:
|
||||
threadPool_ = new Glib::ThreadPool(threadCount, 0);
|
||||
}
|
||||
|
||||
Impl(const Impl&) = delete;
|
||||
|
||||
Glib::ThreadPool* threadPool_;
|
||||
MyMutex mutex_;
|
||||
JobSet jobs_;
|
||||
|
@@ -45,6 +45,8 @@ class PreviewLoader
|
||||
{
|
||||
public:
|
||||
|
||||
PreviewLoader(const PreviewLoader&) = delete;
|
||||
|
||||
/**
|
||||
* @brief Singleton entry point.
|
||||
*
|
||||
|
@@ -176,6 +176,8 @@ private:
|
||||
public:
|
||||
|
||||
ProfileStore();
|
||||
ProfileStore (const ProfileStore&) = delete;
|
||||
|
||||
~ProfileStore();
|
||||
bool init ();
|
||||
void parseProfiles ();
|
||||
|
@@ -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...
|
||||
|
@@ -46,6 +46,8 @@ class ThumbImageUpdater
|
||||
|
||||
public:
|
||||
|
||||
ThumbImageUpdater(const ThumbImageUpdater&) = delete;
|
||||
|
||||
/**
|
||||
* @brief Singleton entry point.
|
||||
*
|
||||
|
Reference in New Issue
Block a user