diff options
author | Shauren <shauren.trinity@gmail.com> | 2012-02-29 12:02:28 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2012-02-29 12:02:28 +0100 |
commit | 7eff1c8f53dd896ada4afaaedbb5233792caa6d8 (patch) | |
tree | 63df75964a04937fa4ee7e95f01948efd4e5d8cb /src | |
parent | 66fc6482de180857b6ec3de8931d0c7887653baa (diff) |
Core: Build fix (for real this time) and warning fix
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Globals/ObjectMgr.cpp | 2 | ||||
-rw-r--r-- | src/server/shared/Packets/ByteBuffer.cpp | 22 | ||||
-rwxr-xr-x | src/server/shared/Packets/ByteBuffer.h | 2 |
3 files changed, 24 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 7834a1cc4a3..11977280177 100755 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -7079,7 +7079,7 @@ void ObjectMgr::LoadNPCSpellClickSpells() uint32 oldMSTime = getMSTime(); _spellClickInfoStore.clear(); - // 0 1 2 3 + // 0 1 2 3 QueryResult result = WorldDatabase.Query("SELECT npc_entry, spell_id, cast_flags, user_type FROM npc_spellclick_spells"); if (!result) diff --git a/src/server/shared/Packets/ByteBuffer.cpp b/src/server/shared/Packets/ByteBuffer.cpp new file mode 100644 index 00000000000..a64bb926d04 --- /dev/null +++ b/src/server/shared/Packets/ByteBuffer.cpp @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "ByteBuffer.h" + +void ByteBufferException::PrintError() const +{ +} diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index 46e34126ae1..3cd6ff73b1e 100755 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -34,7 +34,7 @@ class ByteBufferException } protected: - virtual void PrintError() const = 0 {}; + virtual void PrintError() const = 0; size_t Pos; size_t Size; |