diff options
author | vladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386> | 2011-04-14 02:42:15 +0000 |
---|---|---|
committer | vladlosev <vladlosev@8415998a-534a-0410-bf83-d39667b30386> | 2011-04-14 02:42:15 +0000 |
commit | c5918956fb15bf07a25d9e1de753f3d373937fc8 (patch) | |
tree | 726bda271417241cb19206a5b1e61a779e4b2510 | |
parent | 913377dcd734c6e504e4d728722afc237fc43b39 (diff) | |
download | googlemock-c5918956fb15bf07a25d9e1de753f3d373937fc8.tar.gz |
Updates conditional directives to be consistent with the rest of the project.
git-svn-id: http://googlemock.googlecode.com/svn/trunk@381 8415998a-534a-0410-bf83-d39667b30386
-rw-r--r-- | include/gmock/gmock-matchers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gmock/gmock-matchers.h b/include/gmock/gmock-matchers.h index f401725..b92450c 100644 --- a/include/gmock/gmock-matchers.h +++ b/include/gmock/gmock-matchers.h @@ -1392,13 +1392,13 @@ class TrulyMatcher { template <typename T> bool MatchAndExplain(T& x, // NOLINT MatchResultListener* /* listener */) const { -#if _MSC_VER +#ifdef _MSC_VER // MSVC warns about converting a value into bool (warning 4800). # pragma warning(push) // Saves the current warning state. # pragma warning(disable:4800) // Temporarily disables warning 4800. #endif return predicate_(x); -#if _MSC_VER +#ifdef _MSC_VER # pragma warning(pop) // Restores the warning state. #endif } |