diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-02-12 21:36:46 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-12 21:36:46 +0100 |
commit | f8ad7017dd69e3853ed5912ac6151bc56b6265a0 (patch) | |
tree | 13c6568cf2e7b3a7ccb964b12f6686651f0e714d /src/server/game/Phasing/PhaseShift.cpp | |
parent | 5b28a5ab14f3ca25f986d547e2d2005be3f047b7 (diff) |
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
Diffstat (limited to 'src/server/game/Phasing/PhaseShift.cpp')
-rw-r--r-- | src/server/game/Phasing/PhaseShift.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/game/Phasing/PhaseShift.cpp b/src/server/game/Phasing/PhaseShift.cpp index f0655bf01fa..0c11581b545 100644 --- a/src/server/game/Phasing/PhaseShift.cpp +++ b/src/server/game/Phasing/PhaseShift.cpp @@ -18,6 +18,13 @@ #include "PhaseShift.h" #include "Containers.h" +PhaseShift::PhaseShift() = default; +PhaseShift::PhaseShift(PhaseShift const& right) = default; +PhaseShift::PhaseShift(PhaseShift&& right) noexcept = default; +PhaseShift& PhaseShift::operator=(PhaseShift const& right) = default; +PhaseShift& PhaseShift::operator=(PhaseShift&& right) noexcept = default; +PhaseShift::~PhaseShift() = default; + bool PhaseShift::AddPhase(uint32 phaseId, PhaseFlags flags, std::vector<Condition*> const* areaConditions, int32 references /*= 1*/) { auto insertResult = Phases.emplace(phaseId, flags, nullptr); |