mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 07:17:57 +03:00
Fixed VS2013 attempting to compile VS2019 code
This commit is contained in:
parent
b1f64f7d21
commit
47ed1914cc
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user