From bf03dd99ed4850718c0baba95d80ff87213e8f80 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Fri, 13 Nov 2020 04:50:36 +0200 Subject: gtest: Fix reference to std::string --- gtest/src/gtest-all.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtest/src/gtest-all.cc b/gtest/src/gtest-all.cc index 5ced66a..e96335f 100644 --- a/gtest/src/gtest-all.cc +++ b/gtest/src/gtest-all.cc @@ -171,12 +171,12 @@ class GTEST_API_ SingleFailureChecker { // The constructor remembers the arguments. SingleFailureChecker(const TestPartResultArray* results, TestPartResult::Type type, - const string& substr); + const std::string& substr); ~SingleFailureChecker(); private: const TestPartResultArray* const results_; const TestPartResult::Type type_; - const string substr_; + const std::string substr_; GTEST_DISALLOW_COPY_AND_ASSIGN_(SingleFailureChecker); }; -- cgit v1.2.3