diff options
author | Gennadiy Civil <misterg@google.com> | 2018-04-10 20:10:34 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-04-10 20:10:34 (GMT) |
commit | 39c58da187c9cd54e54560601be4b7ceef320da4 (patch) | |
tree | f74c36bfff352cf49eb110b3f2f6ff57d18dc37f /googlemock/src/gmock-spec-builders.cc | |
parent | e1071eb9497304a38e69737e90a88b4877b8b736 (diff) | |
parent | 8fbb4194709cc9fd3de3deb2b406461a173bab15 (diff) | |
download | googletest-39c58da187c9cd54e54560601be4b7ceef320da4.zip googletest-39c58da187c9cd54e54560601be4b7ceef320da4.tar.gz googletest-39c58da187c9cd54e54560601be4b7ceef320da4.tar.bz2 |
merge
Diffstat (limited to 'googlemock/src/gmock-spec-builders.cc')
-rw-r--r-- | googlemock/src/gmock-spec-builders.cc | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/googlemock/src/gmock-spec-builders.cc b/googlemock/src/gmock-spec-builders.cc index 22d002f..39a3fe7 100644 --- a/googlemock/src/gmock-spec-builders.cc +++ b/googlemock/src/gmock-spec-builders.cc @@ -50,14 +50,13 @@ #endif // Silence C4800 (C4800: 'int *const ': forcing value -// to bool 'true' or 'false') for MSVC 14,15 -#ifdef _MSC_VER -#if _MSC_VER <= 1900 -# pragma warning(push) -# pragma warning(disable:4800) -#endif +// to bool 'true' or 'false') for MSVC 14 +#ifdef _MSC_VER && _MSC_VER == 1900 +# pragma warning(push) +# pragma warning(disable:4800) #endif + namespace testing { namespace internal { @@ -876,8 +875,6 @@ InSequence::~InSequence() { } // namespace testing -#ifdef _MSC_VER -#if _MSC_VER <= 1900 -# pragma warning(pop) -#endif +#ifdef _MSC_VER && _MSC_VER == 1900 +# pragma warning(pop) #endif |