mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 03:53:48 +00:00
@@ -16,5 +16,5 @@ endif()
|
|||||||
|
|
||||||
# -Wno-narrowing needed to suppress a warning in g3d
|
# -Wno-narrowing needed to suppress a warning in g3d
|
||||||
# -Wno-deprecated-register -Wstring-plus-int -Wpointer-bool-conversion are needed to suppress gsoap warnings on Unix systems.
|
# -Wno-deprecated-register -Wstring-plus-int -Wpointer-bool-conversion are needed to suppress gsoap warnings on Unix systems.
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register -Wstring-plus-int -Wparentheses")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register -Wstring-plus-int -Wparentheses -Wreorder")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG=1")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG=1")
|
||||||
|
|||||||
@@ -1081,9 +1081,9 @@ void WorldSession::InitializeQueryCallbackParameters()
|
|||||||
{
|
{
|
||||||
// Callback parameters that have pointers in them should be properly
|
// Callback parameters that have pointers in them should be properly
|
||||||
// initialized to NULL here.
|
// initialized to NULL here.
|
||||||
_charCreateCallback.SetParam(NULL);
|
_charCreateCallback.SetParam(nullptr);
|
||||||
_loadPetFromDBFirstCallback.SetFirstParam(NULL);
|
_loadPetFromDBFirstCallback.SetFirstParam(0);
|
||||||
_loadPetFromDBFirstCallback.SetSecondParam(NULL);
|
_loadPetFromDBFirstCallback.SetSecondParam(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::ProcessQueryCallbacks()
|
void WorldSession::ProcessQueryCallbacks()
|
||||||
|
|||||||
Reference in New Issue
Block a user