mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 17:39:40 +00:00
Add move ctor and assignment operator to RefData
This commit is contained in:
parent
045bb7cbd7
commit
e380470558
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include <components/esm/animationstate.hpp>
|
#include <components/esm/animationstate.hpp>
|
||||||
|
|
||||||
#include "../mwscript/locals.hpp"
|
#include "../mwscript/locals.hpp"
|
||||||
|
#include "../mwworld/customdata.hpp"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -69,6 +70,7 @@ namespace MWWorld
|
||||||
/// perform these operations).
|
/// perform these operations).
|
||||||
|
|
||||||
RefData (const RefData& refData);
|
RefData (const RefData& refData);
|
||||||
|
RefData (RefData&& other) noexcept = default;
|
||||||
|
|
||||||
~RefData();
|
~RefData();
|
||||||
|
|
||||||
|
@ -77,6 +79,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;
|
||||||
|
|
||||||
/// 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