mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core: Build fix (for real this time) and warning fix
This commit is contained in:
@@ -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)
|
||||
|
||||
22
src/server/shared/Packets/ByteBuffer.cpp
Normal file
22
src/server/shared/Packets/ByteBuffer.cpp
Normal 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
|
||||
{
|
||||
}
|
||||
@@ -34,7 +34,7 @@ class ByteBufferException
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual void PrintError() const = 0 {};
|
||||
virtual void PrintError() const = 0;
|
||||
|
||||
size_t Pos;
|
||||
size_t Size;
|
||||
|
||||
Reference in New Issue
Block a user