summaryrefslogtreecommitdiff
path: root/src/directoryrefresher.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-15 13:24:56 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-18 17:25:04 -0500
commitb1cf498924e461556c8f2fe961172685d92bb03f (patch)
treef51694c37c17c87a8965eb9e8fab459d6f63d5ed /src/directoryrefresher.h
parent88ef0530001d43be8f18fac43a280169b45db852 (diff)
split directoryentry
made classes noncopyable, fixed a few unintended copies
Diffstat (limited to 'src/directoryrefresher.h')
-rw-r--r--src/directoryrefresher.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/directoryrefresher.h b/src/directoryrefresher.h
index 5c829980..2102140c 100644
--- a/src/directoryrefresher.h
+++ b/src/directoryrefresher.h
@@ -20,7 +20,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#ifndef DIRECTORYREFRESHER_H
#define DIRECTORYREFRESHER_H
-#include <directoryentry.h>
#include <QObject>
#include <QMutex>
#include <QStringList>
@@ -59,6 +58,10 @@ public:
~DirectoryRefresher();
+ // noncopyable
+ DirectoryRefresher(const DirectoryRefresher&) = delete;
+ DirectoryRefresher& operator=(const DirectoryRefresher&) = delete;
+
/**
* @brief retrieve the updated directory structure
*