fix windows compile

This commit is contained in:
孙羽
2026-05-27 21:34:09 +08:00
parent 6b94ceea14
commit 116a4b8368
8 changed files with 48 additions and 44 deletions
+6 -6
View File
@@ -307,18 +307,18 @@ namespace OFX {
// get multiple values
void getValueN(APIType *value, int count) const;
#ifdef WINDOWS
#pragma warning( disable : 4181 )
#endif
#ifdef _MSC_VER
#pragma warning( disable : 4181 )
#endif
/// get one value
const ReturnType getValue(int index=0) const;
/// get one value, without going through the getHook
const ReturnType getValueRaw(int index=0) const;
#ifdef WINDOWS
#pragma warning( default : 4181 )
#endif
#ifdef _MSC_VER
#pragma warning( default : 4181 )
#endif
// get multiple values, without going through the getHook
void getValueNRaw(APIType *value, int count) const;