diff options
author | Adrian Moran <amoran@ikerlan.es> | 2018-07-11 12:59:01 (GMT) |
---|---|---|
committer | Adrian Moran <amoran@ikerlan.es> | 2018-07-11 12:59:01 (GMT) |
commit | 93bfdde0eeac83fb51b856dc4dc9c38c408b0ee0 (patch) | |
tree | 2d8a14823016b7016dfa5289b5715a7c417798cb /googlemock/test/gmock_ex_test.cc | |
parent | ba96d0b1161f540656efdaed035b3c062b60e006 (diff) | |
download | googletest-93bfdde0eeac83fb51b856dc4dc9c38c408b0ee0.zip googletest-93bfdde0eeac83fb51b856dc4dc9c38c408b0ee0.tar.gz googletest-93bfdde0eeac83fb51b856dc4dc9c38c408b0ee0.tar.bz2 |
Fix issue #1654.
Signed-off-by: Adrian Moran <amoran@ikerlan.es>
Diffstat (limited to 'googlemock/test/gmock_ex_test.cc')
-rw-r--r-- | googlemock/test/gmock_ex_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/googlemock/test/gmock_ex_test.cc b/googlemock/test/gmock_ex_test.cc index 3afed86..8c83890 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 { |