aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-12-16 23:36:08 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-12-16 23:36:08 +0000
commit39bf784f839a9ffeb5f2d943435783633c5c0a6d (patch)
tree6256fa31fda0398260dcf2f82feb2a0500638147 /src
parent5a3c1691a1508577a69fd3111db15e43414918e6 (diff)
downloadgoogletest-39bf784f839a9ffeb5f2d943435783633c5c0a6d.tar.gz
googletest-39bf784f839a9ffeb5f2d943435783633c5c0a6d.tar.bz2
googletest-39bf784f839a9ffeb5f2d943435783633c5c0a6d.zip
Removes uses of GTEST_HAS_STD_STRING.
Diffstat (limited to 'src')
-rw-r--r--src/gmock-printers.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gmock-printers.cc b/src/gmock-printers.cc
index 8efba782..fd7d3055 100644
--- a/src/gmock-printers.cc
+++ b/src/gmock-printers.cc
@@ -296,11 +296,9 @@ void PrintStringTo(const ::string& s, ostream* os) {
}
#endif // GTEST_HAS_GLOBAL_STRING
-#if GTEST_HAS_STD_STRING
void PrintStringTo(const ::std::string& s, ostream* os) {
PrintCharsAsStringTo(s.data(), s.size(), os);
}
-#endif // GTEST_HAS_STD_STRING
// Prints a ::wstring object.
#if GTEST_HAS_GLOBAL_WSTRING