diff --git a/libs/discordrpc/serialization.h b/libs/discordrpc/serialization.h index 9c462dc..b3a1f7c 100644 --- a/libs/discordrpc/serialization.h +++ b/libs/discordrpc/serialization.h @@ -2,24 +2,10 @@ #include -#ifndef __MINGW32__ -#pragma warning(push) - -#pragma warning(disable : 4061) // enum is not explicitly handled by a case label -#pragma warning(disable : 4365) // signed/unsigned mismatch -#pragma warning(disable : 4464) // relative include path contains -#pragma warning(disable : 4668) // is not defined as a preprocessor macro -#pragma warning(disable : 6313) // Incorrect operator -#endif // __MINGW32__ - #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" -#ifndef __MINGW32__ -#pragma warning(pop) -#endif // __MINGW32__ - // if only there was a standard library function for this template inline size_t StringCopy(char (&dest)[Len], const char* src)