more coverity fixes

This commit is contained in:
Jean-Louis Leroy
2026-01-25 19:21:19 -05:00
parent 3dfaf30264
commit 3e2454d841
10 changed files with 18 additions and 9 deletions

View File

@@ -194,6 +194,7 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(
shared_virtual_ptr<Dog, Registry> q(std::move(p));
BOOST_TEST(q.get() == snoopy.get());
BOOST_TEST(q.vptr() == Registry::template static_vptr<Dog>);
// coverity[use_after_move]
BOOST_TEST(p.get() == nullptr);
BOOST_TEST(p.vptr() == nullptr);
}