diff options
| author | Shauren <shauren.trinity@gmail.com> | 2014-10-30 20:59:07 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2014-10-30 20:59:07 +0100 |
| commit | 398068e3de4d5cd353eaf3348a2d7d58a8257473 (patch) | |
| tree | aa8f40b8300e55a61e0180cc8de58cf31c2234e2 /src | |
| parent | 83bf418213a5f566e93cd251d907f48ae3f84487 (diff) | |
Fixed gcc build
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Entities/Object/ObjectGuid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Entities/Object/ObjectGuid.cpp b/src/server/game/Entities/Object/ObjectGuid.cpp index ebcf110b5f4..b51493bcd23 100644 --- a/src/server/game/Entities/Object/ObjectGuid.cpp +++ b/src/server/game/Entities/Object/ObjectGuid.cpp @@ -232,13 +232,13 @@ ObjectGuid const ObjectGuid::TradeItem = ObjectGuid::Create<HighGuid::Uniq>(uint template<HighGuid type> ObjectGuid ObjectGuid::Create(LowType counter) { - static_assert(false, "Invalid guid construction method for this guid type."); + static_assert(type == HighGuid::Count, "This guid type cannot be constructed using Create(LowType counter)."); } template<HighGuid type> ObjectGuid ObjectGuid::Create(uint16 mapId, uint32 entry, LowType counter) { - static_assert(false, "Invalid guid construction method for this guid type."); + static_assert(type == HighGuid::Count, "This guid type cannot be constructed using Create(uint16 mapId, uint32 entry, LowType counter)."); } template ObjectGuid::LowType ObjectGuidGenerator<HighGuid::Player>::Generate(); |
