Fixed VS2013 attempting to compile VS2019 code

This commit is contained in:
Blixibon 2021-11-06 14:03:05 -05:00
parent b1f64f7d21
commit 47ed1914cc

View File

@ -138,9 +138,11 @@ void ConnectHaptics(CreateInterfaceFn appFactory)
HookHapticMessages();
}
#if _MSC_VER >= 1925
// deleting haptics results in a warning about deleting something with a non-virtual destructor
// big yikes but we can't do anything about it as it's accessed via interface
#pragma warning (disable: 5205)
#endif
void DisconnectHaptics()
{