UTs: Fix AlignedAllocator.Realloc test

_aligned_realloc may return the same pointer if the internal implementation finds it suitable. Fixes Windows' builds.
This commit is contained in:
Elad 2025-11-29 06:09:04 +02:00
parent 14bd6b0cc5
commit cae77784db

View file

@ -341,7 +341,6 @@ namespace rsx
const auto ptr_value = reinterpret_cast<uintptr_t>(ptr2);
rsx::aligned_allocator::free(ptr2);
EXPECT_NE(ptr, ptr2);
EXPECT_NE(ptr_value, 0);
EXPECT_EQ(ptr_value % 256, 0);
}