Fix a warning on Windows

5e4b49f65f introduced a warning, silence it as it's in spidermonkey and
only leaks while on vs2017.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-07-09 19:22:23 +02:00
parent e7f44ca6ca
commit 8a8f2596ea
+8
View File
@@ -24,7 +24,15 @@
#include "renderer/backend/ITexture.h"
#include <cstdint>
#if MSC_VERSION
# pragma warning(push, 1)
# pragma warning(disable: 4068)
# pragma warning(disable: 4100)
#endif
#include <js/TypeDecls.h>
#if MSC_VERSION
# pragma warning(pop)
#endif
#include <memory>
#include <string>
#include <vector>