diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gtest/clang-tidy-no-lint.patch | |
Diffstat (limited to 'vcpkg/ports/gtest/clang-tidy-no-lint.patch')
| -rw-r--r-- | vcpkg/ports/gtest/clang-tidy-no-lint.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/gtest/clang-tidy-no-lint.patch b/vcpkg/ports/gtest/clang-tidy-no-lint.patch new file mode 100644 index 0000000..588a1d6 --- /dev/null +++ b/vcpkg/ports/gtest/clang-tidy-no-lint.patch @@ -0,0 +1,13 @@ +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); + } + |