Build fixes

This commit is contained in:
Shauren
2016-03-28 18:47:13 +02:00
parent dde620c402
commit ea652fbedd
4 changed files with 4 additions and 3 deletions

View File

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

View File

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

View File

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

View File

@@ -16,6 +16,7 @@
*/
#include "Realm.h"
#include "StringFormat.h"
ip::tcp::endpoint Realm::GetAddressForClient(ip::address const& clientAddr) const
{