Ignore annoying warning in Visual Studio that I know is actually valid code.

This commit is contained in:
Stephen Anthony 2017-05-27 14:23:47 -02:30
parent ea7a20a5a0
commit 3ad77117ec
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ namespace BSPF
static const string PATH_SEPARATOR = "/";
#elif defined(BSPF_WINDOWS)
static const string PATH_SEPARATOR = "\\";
#pragma warning (disable : 4146) // unary minus operator applied to unsigned type
#pragma warning(2:4264) // no override available for virtual member function from base 'class'; function is hidden
#pragma warning(2:4265) // class has virtual functions, but destructor is not virtual
#pragma warning(2:4266) // no override available for virtual member function from base 'type'; function is hidden