1
0
Fork 1
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:
elsid 2021-04-03 00:49:14 +02:00
parent 045bb7cbd7
commit e380470558
No known key found for this signature in database
GPG key ID: D27B8E8D10A2896B

View file

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