diff --git a/apps/openmw/mwworld/refdata.cpp b/apps/openmw/mwworld/refdata.cpp index 29c669caf9..9aa40ed4b1 100644 --- a/apps/openmw/mwworld/refdata.cpp +++ b/apps/openmw/mwworld/refdata.cpp @@ -130,6 +130,9 @@ namespace MWWorld {} } + RefData::RefData(RefData&& other) noexcept = default; + RefData& RefData::operator=(RefData&& other) noexcept = default; + void RefData::setBaseNode(SceneUtil::PositionAttitudeTransform *base) { mBaseNode = base; diff --git a/apps/openmw/mwworld/refdata.hpp b/apps/openmw/mwworld/refdata.hpp index e2f77d09e0..640670d8e9 100644 --- a/apps/openmw/mwworld/refdata.hpp +++ b/apps/openmw/mwworld/refdata.hpp @@ -72,7 +72,7 @@ namespace MWWorld /// perform these operations). RefData (const RefData& refData); - RefData (RefData&& other) noexcept = default; + RefData (RefData&& other) noexcept; ~RefData(); @@ -81,7 +81,7 @@ namespace MWWorld /// perform this operations). RefData& operator= (const RefData& refData); - RefData& operator= (RefData&& other) noexcept = default; + RefData& operator= (RefData&& other) noexcept; /// Return base node (can be a null pointer). SceneUtil::PositionAttitudeTransform* getBaseNode();