mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 01:51:36 +08:00
14 lines
460 B
Diff
14 lines
460 B
Diff
|
diff --git a/googletest/include/gtest/gtest-matchers.h b/googletest/include/gtest/gtest-matchers.h
|
||
|
index 2bd3dcf6..12cd60f6 100644
|
||
|
--- a/googletest/include/gtest/gtest-matchers.h
|
||
|
+++ b/googletest/include/gtest/gtest-matchers.h
|
||
|
@@ -403,6 +403,7 @@ class MatcherBase : private MatcherDescriberInterface {
|
||
|
};
|
||
|
|
||
|
void Destroy() {
|
||
|
+ // NOLINTNEXTLINE
|
||
|
if (IsShared() && buffer_.shared->Unref()) {
|
||
|
vtable_->shared_destroy(buffer_.shared);
|
||
|
}
|
||
|
|