Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Konovalov committed Mar 18, 2024
1 parent 28b32fb commit 021c536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pstl_offload/memory/allocation_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static allocs perform_allocations_impl() {

static void perform_deallocations_impl(const allocs& na) {
#if __linux__
EXPECT_TRUE(malloc_usable_size(ptr) >= allocs::alloc_size, "Incorrect return value of malloc_usable_size");
EXPECT_TRUE(malloc_usable_size(na.malloc_ptr) >= allocs::alloc_size, "Incorrect return value of malloc_usable_size");
#elif _WIN64
EXPECT_TRUE(_msize(na.malloc_ptr) >= allocs::alloc_size, "Incorrect return value of _msize");
#endif
Expand Down

0 comments on commit 021c536

Please sign in to comment.