preproc syntax ( I can never remember it)

This commit is contained in:
Gennadiy Civil 2018-04-09 10:25:59 -04:00
parent 61e8a0b10b
commit 35a709a701

View File

@ -51,9 +51,11 @@
// Silence C4800 (C4800: 'int *const ': forcing value
// to bool 'true' or 'false') for MSVC 14
#ifdef _MSC_VER && (_MSC_VER == 1900)
# pragma warning(push)
# pragma warning(disable:4800)
#ifdef _MSC_VER
#if _MSC_VER == 1900
# pragma warning(push)
# pragma warning(disable:4800)
#endif
#endif
namespace testing {
@ -874,6 +876,8 @@ InSequence::~InSequence() {
} // namespace testing
#ifdef _MSC_VER && (_MSC_VER == 1900)
# pragma warning(pop)
#ifdef _MSC_VER
#if _MSC_VER == 1900
# pragma warning(pop)
#endif
#endif