aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--googlemock/test/gmock_ex_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/test/gmock_ex_test.cc b/googlemock/test/gmock_ex_test.cc
index 3afed86a..8c83890f 100644
--- a/googlemock/test/gmock_ex_test.cc
+++ b/googlemock/test/gmock_ex_test.cc
@@ -37,7 +37,9 @@
namespace {
using testing::HasSubstr;
+#if GTEST_HAS_EXCEPTIONS
using testing::internal::GoogleTestFailureException;
+#endif
// A type that cannot be default constructed.
class NonDefaultConstructible {