mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-24 13:11:34 +00:00
Put RefData move constructor to cpp file
This commit is contained in:
parent
6db2450c90
commit
7df500c385
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
void RefData::setBaseNode(SceneUtil::PositionAttitudeTransform *base)
|
||||||
{
|
{
|
||||||
mBaseNode = base;
|
mBaseNode = base;
|
||||||
|
|
|
@ -72,7 +72,7 @@ namespace MWWorld
|
||||||
/// perform these operations).
|
/// perform these operations).
|
||||||
|
|
||||||
RefData (const RefData& refData);
|
RefData (const RefData& refData);
|
||||||
RefData (RefData&& other) noexcept = default;
|
RefData (RefData&& other) noexcept;
|
||||||
|
|
||||||
~RefData();
|
~RefData();
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ namespace MWWorld
|
||||||
/// perform this operations).
|
/// perform this operations).
|
||||||
|
|
||||||
RefData& operator= (const RefData& refData);
|
RefData& operator= (const RefData& refData);
|
||||||
RefData& operator= (RefData&& other) noexcept = default;
|
RefData& operator= (RefData&& other) noexcept;
|
||||||
|
|
||||||
/// Return base node (can be a null pointer).
|
/// Return base node (can be a null pointer).
|
||||||
SceneUtil::PositionAttitudeTransform* getBaseNode();
|
SceneUtil::PositionAttitudeTransform* getBaseNode();
|
||||||
|
|
Loading…
Reference in a new issue