]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commitdiff
Googletest export
authorAbseil Team <absl-team@google.com>
Thu, 9 Jan 2020 18:48:26 +0000 (13:48 -0500)
committerAndy Soffer <asoffer@google.com>
Thu, 9 Jan 2020 23:25:32 +0000 (18:25 -0500)
Removing GTEST_API from TrueWithString.
This type is only used in test code on one side of a DLL boundary so it is not
necessary.

PiperOrigin-RevId: 288927929

googletest/include/gtest/internal/gtest-internal.h

index 90c962b0d690c25b025810be183ee85ae5f36a69..6bad8780b5a063c5d87e058c7299f8ad0ed53834 100644 (file)
@@ -844,7 +844,7 @@ struct GTEST_API_ ConstCharPtr {
 
 // Helper for declaring std::string within 'if' statement
 // in pre C++17 build environment.
-struct GTEST_API_ TrueWithString {
+struct TrueWithString {
   TrueWithString() = default;
   explicit TrueWithString(const char* str) : value(str) {}
   explicit TrueWithString(const std::string& str) : value(str) {}