Core: Build fix (for real this time) and warning fix

This commit is contained in:
Shauren
2012-02-29 12:02:28 +01:00
parent 66fc6482de
commit 7eff1c8f53
3 changed files with 24 additions and 2 deletions

View File

@@ -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)

View File

@@ -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
{
}

View File

@@ -34,7 +34,7 @@ class ByteBufferException
}
protected:
virtual void PrintError() const = 0 {};
virtual void PrintError() const = 0;
size_t Pos;
size_t Size;