mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
fix(Core): C++ 11 rule of 3 compiant constructors (#3023)
This commit is contained in:
@@ -68,6 +68,12 @@ namespace Movement
|
||||
MoveSplineFlag() { raw() = 0; }
|
||||
MoveSplineFlag(uint32 f) { raw() = f; }
|
||||
MoveSplineFlag(const MoveSplineFlag& f) { raw() = f.raw(); }
|
||||
/* requried as of C++ 11 */
|
||||
#if __cplusplus >= 201103L
|
||||
MoveSplineFlag(MoveSplineFlag&&) = default;
|
||||
MoveSplineFlag& operator=(const MoveSplineFlag&) = default;
|
||||
MoveSplineFlag& operator=(MoveSplineFlag&&) = default;
|
||||
#endif
|
||||
|
||||
// Constant interface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user