1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 07:15:34 +00:00

Put RefData move constructor to cpp file

This commit is contained in:
Petr Mikheev 2021-04-05 23:25:51 +02:00
parent 6db2450c90
commit 7df500c385
2 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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();