mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user