From b374f04f313f65915df7017b5260654aa49c19b0 Mon Sep 17 00:00:00 2001 From: Daniel Schemmel Date: Thu, 29 Jun 2023 01:00:01 +0000 Subject: rename Allocator::location_info to Allocator::locationInfo for consistency --- unittests/KDAlloc/randomtest.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'unittests/KDAlloc') diff --git a/unittests/KDAlloc/randomtest.cpp b/unittests/KDAlloc/randomtest.cpp index c78746bb..4d2eca9c 100644 --- a/unittests/KDAlloc/randomtest.cpp +++ b/unittests/KDAlloc/randomtest.cpp @@ -78,16 +78,16 @@ public: auto choice = std::uniform_int_distribution( 0, allocations.size() - 1)(rng); #if defined(USE_KDALLOC) - assert(allocator.location_info(allocations[choice].first, 1) == + assert(allocator.locationInfo(allocations[choice].first, 1) == klee::kdalloc::LocationInfo::LI_AllocatedOrQuarantined); - assert(allocator.location_info(allocations[choice].first, - allocations[choice].second) == + assert(allocator.locationInfo(allocations[choice].first, + allocations[choice].second) == klee::kdalloc::LocationInfo::LI_AllocatedOrQuarantined); allocator.free(allocations[choice].first, allocations[choice].second); - assert(allocator.location_info(allocations[choice].first, 1) == + assert(allocator.locationInfo(allocations[choice].first, 1) == klee::kdalloc::LocationInfo::LI_Unallocated); - assert(allocator.location_info(allocations[choice].first, - allocations[choice].second) == + assert(allocator.locationInfo(allocations[choice].first, + allocations[choice].second) == klee::kdalloc::LocationInfo::LI_Unallocated); #else free(allocations[choice].first); -- cgit 1.4.1