summaryrefslogtreecommitdiffhomepage
path: root/migration/migration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'migration/migration.hpp')
-rw-r--r--migration/migration.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/migration/migration.hpp b/migration/migration.hpp
index e81e0ae5..fc370a15 100644
--- a/migration/migration.hpp
+++ b/migration/migration.hpp
@@ -9,10 +9,10 @@
#pragma once
#include <QString>
-#include <vector>
-
#include "export.hpp"
+#include <memory>
+#include <vector>
#include <functional>
namespace migrations {
@@ -78,6 +78,9 @@ namespace detail {
struct migration
{
migration() = default;
+ migration(const migration&) = delete;
+ migration& operator=(const migration&) = delete;
+
inline virtual ~migration();
virtual QString unique_date() const = 0;
virtual QString name() const = 0;