diff --git a/examples/button-clicker/Assets/Resources/discord-rpc.dll b/examples/button-clicker/Assets/Resources/discord-rpc.dll index bbba889..afa5576 100644 Binary files a/examples/button-clicker/Assets/Resources/discord-rpc.dll and b/examples/button-clicker/Assets/Resources/discord-rpc.dll differ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 39f1275..d8272da 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -31,11 +31,14 @@ if(WIN32) add_library(discord-rpc ${RPC_LIBRARY_TYPE} ${BASE_RPC_SRC}) target_compile_options(discord-rpc PRIVATE /EHsc /Wall + /wd4100 # unreferenced formal parameter /wd4514 # unreferenced inline /wd4625 # copy constructor deleted /wd5026 # move constructor deleted /wd4626 # move assignment operator deleted + /wd4668 # not defined preprocessor macro /wd4710 # function not inlined + /wd4711 # function was inlined /wd4820 # structure padding /wd4946 # reinterpret_cast used between related classes /wd5027 # move assignment operator was implicitly defined as deleted diff --git a/src/msg_queue.h b/src/msg_queue.h index 65eb4da..470ce96 100644 --- a/src/msg_queue.h +++ b/src/msg_queue.h @@ -13,7 +13,7 @@ class MsgQueue { std::atomic_uint pendingSends_{0}; public: - MsgQueue(){} + MsgQueue() {} ElementType* GetNextAddMessage() {