diff --git a/math/vecops/test/vecops_rvec.cxx b/math/vecops/test/vecops_rvec.cxx index 034f06ca21124..432c673a5534a 100644 --- a/math/vecops/test/vecops_rvec.cxx +++ b/math/vecops/test/vecops_rvec.cxx @@ -1493,13 +1493,6 @@ TEST(VecOps, Construct) EXPECT_TRUE(fourVects[2] == ref2); } -bool IsSmall(const RVec &v) -{ - // the first array element is right after the 3 data members of SmallVectorBase - return reinterpret_cast(v.begin()) - reinterpret_cast(&v) == - sizeof(void *) + 2 * sizeof(int); -} - // this is a regression test for https://github.com/root-project/root/issues/6796 TEST(VecOps, MemoryAdoptionAndClear) {