diff options
Diffstat (limited to 'include/gtest')
-rw-r--r-- | include/gtest/gtest-spi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/gtest-spi.h b/include/gtest/gtest-spi.h index e338e36..b226e55 100644 --- a/include/gtest/gtest-spi.h +++ b/include/gtest/gtest-spi.h @@ -98,12 +98,12 @@ class GTEST_API_ SingleFailureChecker { // The constructor remembers the arguments. SingleFailureChecker(const TestPartResultArray* results, TestPartResult::Type type, - const char* substr); + const string& substr); ~SingleFailureChecker(); private: const TestPartResultArray* const results_; const TestPartResult::Type type_; - const String substr_; + const string substr_; GTEST_DISALLOW_COPY_AND_ASSIGN_(SingleFailureChecker); }; |