diff options
author | kosak <kosak@google.com> | 2014-01-29 07:30:13 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2014-01-29 07:30:13 +0000 |
commit | fc4aa1d7188322dc0ad28f2b43b9002d67e86a24 (patch) | |
tree | 4694b3e7aa963e502a6975e19ec287a31d0ab58a /test/gmock-generated-actions_test.cc | |
parent | b5c81098a8ccc25e313ffca56c911200b3591ea0 (diff) | |
download | googletest-fc4aa1d7188322dc0ad28f2b43b9002d67e86a24.tar.gz googletest-fc4aa1d7188322dc0ad28f2b43b9002d67e86a24.tar.bz2 googletest-fc4aa1d7188322dc0ad28f2b43b9002d67e86a24.zip |
Suppress "Conditional expression is constant" warning on Visual Studio.
Diffstat (limited to 'test/gmock-generated-actions_test.cc')
-rw-r--r-- | test/gmock-generated-actions_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gmock-generated-actions_test.cc b/test/gmock-generated-actions_test.cc index 31812716..a1fa6aee 100644 --- a/test/gmock-generated-actions_test.cc +++ b/test/gmock-generated-actions_test.cc @@ -900,7 +900,9 @@ template <typename T1, typename T2> // pattern requires the user to use it directly. ConcatImplActionP3<std::string, T1, T2> Concat(const std::string& a, T1 b, T2 c) { + GTEST_INTENTIONAL_CONST_COND_PUSH_ if (true) { + GTEST_INTENTIONAL_CONST_COND_POP_ // This branch verifies that ConcatImpl() can be invoked without // explicit template arguments. return ConcatImpl(a, b, c); |