summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2020-11-13 04:50:36 +0200
committerPovilas Kanapickas <povilas@radix.lt>2020-11-13 04:50:36 +0200
commitbf03dd99ed4850718c0baba95d80ff87213e8f80 (patch)
tree50058e8606f0c3733e08ad228515e0d65eb1caf9
parentb421e56afcff07b1e36009a4e18cd238707debf3 (diff)
gtest: Fix reference to std::string
-rw-r--r--gtest/src/gtest-all.cc4
1 files 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);
};