mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 18:09: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 "../mwscript/locals.hpp"
|
||||
#include "../mwworld/customdata.hpp"
|
||||
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
@ -69,6 +70,7 @@ namespace MWWorld
|
|||
/// perform these operations).
|
||||
|
||||
RefData (const RefData& refData);
|
||||
RefData (RefData&& other) noexcept = default;
|
||||
|
||||
~RefData();
|
||||
|
||||
|
@ -77,6 +79,7 @@ namespace MWWorld
|
|||
/// perform this operations).
|
||||
|
||||
RefData& operator= (const RefData& refData);
|
||||
RefData& operator= (RefData&& other) noexcept = default;
|
||||
|
||||
/// Return base node (can be a null pointer).
|
||||
SceneUtil::PositionAttitudeTransform* getBaseNode();
|
||||
|
|
Loading…
Reference in a new issue