From 31c8c2e8ee6686b55456c58ecc880e7e1874ac9b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 2 May 2018 18:15:46 +0200 Subject: migration: add missing Spotted-by: @zanoni-mbdyn --- migration/migration.hpp | 7 +++++-- 1 file 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 -#include - #include "export.hpp" +#include +#include #include 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; -- cgit v1.2.3