From: Abseil Team Date: Thu, 9 Jan 2020 18:48:26 +0000 (-0500) Subject: Googletest export X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d854bd6acc47f7f6e168007d58b5f509e4981b36;p=googletest.git Googletest export 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 --- diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 90c962b..6bad878 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -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) {}