summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-05-02 18:15:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-05-02 18:15:46 +0200
commit31c8c2e8ee6686b55456c58ecc880e7e1874ac9b (patch)
tree1ddbb13bfc11551049b3df18fc86e6ba1b6fe3c0 /migration
parente4b57076356c46b0158c1b401f8996134580e49b (diff)
migration: add missing <memory>
Spotted-by: @zanoni-mbdyn
Diffstat (limited to 'migration')
-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;