Physics/PhysObject: Fixed Copy/Move operator

Former-commit-id: 58377ee8d41ef39ade38fcbf03355af5e7d7db58
This commit is contained in:
Lynix
2015-04-20 01:28:18 +02:00
parent 61c6baeabe
commit 1c7c1de3e7
2 changed files with 7 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ class NAZARA_API NzPhysObject : NzNonCopyable
void SetPosition(const NzVector3f& position);
void SetRotation(const NzQuaternionf& rotation);
NzPhysObject& operator=(NzPhysObject object);
NzPhysObject& operator=(const NzPhysObject& object);
NzPhysObject& operator=(NzPhysObject&& object);
private: