aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2025-01-23 17:45:02 +0300
committerthegeorg <thegeorg@yandex-team.com>2025-01-23 18:32:13 +0300
commita6e6da86b7647005f55c75fb2d670e1133fae024 (patch)
tree7fc38e0c5f11823484563be3d71ee1a0dd0eea8b /library/cpp
parent8b11fd720733f22796dbcff181d79102d7ebd049 (diff)
downloadydb-a6e6da86b7647005f55c75fb2d670e1133fae024.tar.gz
Fix -Wnon-virtual-dtor in util and gtest wrapper
commit_hash:d8917bc04e6ab10b341000f8bb98d456223f0307
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/testing/unittest/gtest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/cpp/testing/unittest/gtest.h b/library/cpp/testing/unittest/gtest.h
index a59ea48fdd..6bda57334d 100644
--- a/library/cpp/testing/unittest/gtest.h
+++ b/library/cpp/testing/unittest/gtest.h
@@ -33,6 +33,8 @@ namespace NTesting {
inline TTest* _This() noexcept {
return this;
}
+
+ virtual ~TTest() = default;
};
}