mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Build fixes
This commit is contained in:
@@ -50,7 +50,7 @@ if (MSVC)
|
||||
src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
|
||||
)
|
||||
add_compile_options(/wd4800)
|
||||
elseif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
else()
|
||||
set(protobuf_STAT_SRCS
|
||||
${protobuf_STAT_SRCS}
|
||||
src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc
|
||||
|
||||
@@ -143,7 +143,7 @@ void LoginRESTService::Run()
|
||||
{
|
||||
{ "application/json;charset=utf-8", handle_post_plugin },
|
||||
{ "application/json", handle_post_plugin },
|
||||
{ NULL }
|
||||
{ nullptr, nullptr }
|
||||
};
|
||||
|
||||
soap_register_plugin_arg(&soapServer, &http_get, handle_get_plugin);
|
||||
|
||||
@@ -25,7 +25,7 @@ bool Battlenet::SslContext::Initialize()
|
||||
#define LOAD_CHECK(fn) do { fn; \
|
||||
if (err) \
|
||||
{ \
|
||||
TC_LOG_ERROR("server.ssl", #fn ## "failed: %s", err.message().c_str()); \
|
||||
TC_LOG_ERROR("server.ssl", #fn " failed: %s", err.message().c_str()); \
|
||||
return false; \
|
||||
} } while (0)
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
|
||||
#include "Realm.h"
|
||||
#include "StringFormat.h"
|
||||
|
||||
ip::tcp::endpoint Realm::GetAddressForClient(ip::address const& clientAddr) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user