aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-string.h
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-05 21:21:06 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2010-03-05 21:21:06 +0000
commit83589cca345d2f03d93b0555437aa480e0ed6699 (patch)
treeaca5d19835a1562fd71e48e6ca289f33b0f68e30 /include/gtest/internal/gtest-string.h
parent542b41e5d010cf0a18a37252d5f4b05cfa5408af (diff)
downloadgoogletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.gz
googletest-83589cca345d2f03d93b0555437aa480e0ed6699.tar.bz2
googletest-83589cca345d2f03d93b0555437aa480e0ed6699.zip
Supports building gtest as a DLL (by Vlad Losev).
Diffstat (limited to 'include/gtest/internal/gtest-string.h')
-rw-r--r--include/gtest/internal/gtest-string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/internal/gtest-string.h b/include/gtest/internal/gtest-string.h
index 280645e6..d1d0297c 100644
--- a/include/gtest/internal/gtest-string.h
+++ b/include/gtest/internal/gtest-string.h
@@ -73,7 +73,7 @@ namespace internal {
//
// In order to make the representation efficient, the d'tor of String
// is not virtual. Therefore DO NOT INHERIT FROM String.
-class String {
+class GTEST_API_ String {
public:
// Static utility methods
@@ -326,7 +326,7 @@ inline ::std::ostream& operator<<(::std::ostream& os, const String& str) {
// Gets the content of the StrStream's buffer as a String. Each '\0'
// character in the buffer is replaced with "\\0".
-String StrStreamToString(StrStream* stream);
+GTEST_API_ String StrStreamToString(StrStream* stream);
// Converts a streamable value to a String. A NULL pointer is
// converted to "(null)". When the input value is a ::string,