diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2013-02-28 23:46:07 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2013-02-28 23:46:07 +0000 |
commit | 6a036a5c8c7613e888fad39d92fc3fd84a96fbc7 (patch) | |
tree | 6758198925bed7d581f7f9d81580a726592236e8 /include/gtest/internal/gtest-string.h | |
parent | b3ed14ac17f8f1d218a6f8dfaa18d45621cd33ff (diff) | |
download | googletest-6a036a5c8c7613e888fad39d92fc3fd84a96fbc7.tar.gz googletest-6a036a5c8c7613e888fad39d92fc3fd84a96fbc7.tar.bz2 googletest-6a036a5c8c7613e888fad39d92fc3fd84a96fbc7.zip |
Fixes a nasty issue in gtest's template instantiation.
Diffstat (limited to 'include/gtest/internal/gtest-string.h')
-rw-r--r-- | include/gtest/internal/gtest-string.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/gtest/internal/gtest-string.h b/include/gtest/internal/gtest-string.h index 7b740858..97f1a7fd 100644 --- a/include/gtest/internal/gtest-string.h +++ b/include/gtest/internal/gtest-string.h @@ -161,17 +161,6 @@ class GTEST_API_ String { // character in the buffer is replaced with "\\0". GTEST_API_ std::string StringStreamToString(::std::stringstream* stream); -// Converts a streamable value to an std::string. A NULL pointer is -// converted to "(null)". When the input value is a ::string, -// ::std::string, ::wstring, or ::std::wstring object, each NUL -// character in it is replaced with "\\0". - -// Declared here but defined in gtest.h, so that it has access -// to the definition of the Message class, required by the ARM -// compiler. -template <typename T> -std::string StreamableToString(const T& streamable); - } // namespace internal } // namespace testing |