Skip to content

Commit c43c301

Browse files
committed
Removed outdated comments
1 parent 0bca5d7 commit c43c301

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples_tests/10.AllocatorTest/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,11 @@ class AllocatorHandler
152152
}
153153

154154
// run random dealloc function
155-
// linear address allocator is always reseted here
156155
randFreeAllocatedAddresses(alctr);
157156
}
158157

159158
// randomly choose between reset and freeing all `core::vector` elements
160-
if constexpr (!std::is_same<AlctrType, core::LinearAddressAllocator<uint32_t>>::value) //linear address allocator is always reseted in the `randFreeAllocatedAddresses()`
159+
if constexpr (!std::is_same<AlctrType, core::LinearAddressAllocator<uint32_t>>::value)
161160
{
162161
bool reset = static_cast<bool>(rng.getRandomNumber(0u, 1u));
163162
if (reset)

0 commit comments

Comments
 (0)