serialization: Remove unneeded pragams

This commit is contained in:
Jonas Kvinge
2025-03-29 23:01:41 +01:00
parent 6d4d8251ad
commit 34fb289e33

View File

@@ -1,23 +1,9 @@
#pragma once
#ifdef _MSC_VER
# 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
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#ifdef _MSC_VER
# pragma warning(pop)
#endif
namespace discord_rpc {
// if only there was a standard library function for this