From 533172dc2df60406e2c7f08f36de3742721f8079 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:22:25 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files. --- src/variabledata.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/variabledata.h') diff --git a/src/variabledata.h b/src/variabledata.h index 05363c646..89b166482 100644 --- a/src/variabledata.h +++ b/src/variabledata.h @@ -38,6 +38,11 @@ class VariableData notfinal DATA_BOOL }; + VariableData() + { } + + A_DELETE_COPY(VariableData) + virtual ~VariableData() {} @@ -48,9 +53,12 @@ class IntData final : public VariableData { public: explicit IntData(const int value) : + VariableData(), mData(value) { } + A_DELETE_COPY(IntData) + int getData() const noexcept2 A_WARN_UNUSED { return mData; } @@ -65,9 +73,12 @@ class StringData final : public VariableData { public: explicit StringData(const std::string &value) : + VariableData(), mData(value) { } + A_DELETE_COPY(StringData) + const std::string &getData() const noexcept2 A_WARN_UNUSED { return mData; } @@ -82,9 +93,12 @@ class FloatData final : public VariableData { public: explicit FloatData(const double value) : + VariableData(), mData(value) { } + A_DELETE_COPY(FloatData) + double getData() const noexcept2 A_WARN_UNUSED { return mData; } @@ -99,9 +113,12 @@ class BoolData final : public VariableData { public: explicit BoolData(const bool value) : + VariableData(), mData(value) { } + A_DELETE_COPY(BoolData) + bool getData() const noexcept2 A_WARN_UNUSED { return mData; } -- cgit v1.2.3-70-g09d2