Compare commits
No commits in common. "1cfbcffe94ec1aeb1444baec47769814d58590f6" and "6cd26d5ee96b2ba922948b8178dae0ac6a6e7fc9" have entirely different histories.
1cfbcffe94
...
6cd26d5ee9
@ -3,9 +3,6 @@ project(allocPool)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
|
||||
add_compile_options(-fsanitize=address)
|
||||
add_link_options(-fsanitize=address)
|
||||
|
||||
add_executable(allocPool main.cpp
|
||||
allocPool.hpp
|
||||
tests.cpp
|
||||
|
@ -24,11 +24,6 @@ public:
|
||||
initArray(defaultAllocNumbers);
|
||||
}
|
||||
|
||||
~allocPool() {
|
||||
for (auto i: vec)
|
||||
delete i;
|
||||
}
|
||||
|
||||
T *getPtr() {
|
||||
if (pivot == 0)
|
||||
resizeVec();
|
||||
|
Loading…
Reference in New Issue
Block a user