diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-02 18:15:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-02 18:15:46 +0200 |
commit | 31c8c2e8ee6686b55456c58ecc880e7e1874ac9b (patch) | |
tree | 1ddbb13bfc11551049b3df18fc86e6ba1b6fe3c0 /migration | |
parent | e4b57076356c46b0158c1b401f8996134580e49b (diff) |
migration: add missing <memory>
Spotted-by: @zanoni-mbdyn
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration.hpp | 7 |
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; |