summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmauro <dmauro@google.com>2021-06-03 15:52:34 -0400
committerDerek Mauro <dmauro@google.com>2021-06-08 18:36:20 -0400
commit9d698f6905a1a06d6f1109ab1c1e2309b08de2ac (patch)
treea635e67c01b649975969712fd1697bb3b198526a
parent4feb6c77dea0ad5e91ef1b7962206c87ed92863a (diff)
downloadgoogletest-git-9d698f6905a1a06d6f1109ab1c1e2309b08de2ac.tar.gz
Googletest export
Fix MSVC warning C4275: non dll-interface class 'testing::MatcherDescriberInterface' used as base for dll-interface class 'testing::internal::MatcherBase<std::string>' Fixes #3415 PiperOrigin-RevId: 377352684
-rw-r--r--googletest/include/gtest/gtest-matchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-matchers.h b/googletest/include/gtest/gtest-matchers.h
index 2bd3dcf6..9fa34a05 100644
--- a/googletest/include/gtest/gtest-matchers.h
+++ b/googletest/include/gtest/gtest-matchers.h
@@ -106,7 +106,7 @@ inline MatchResultListener::~MatchResultListener() {
// An instance of a subclass of this knows how to describe itself as a
// matcher.
-class MatcherDescriberInterface {
+class GTEST_API_ MatcherDescriberInterface {
public:
virtual ~MatcherDescriberInterface() {}