implemented delete correction for leaks
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
int main() {
|
||||
|
||||
// VECTOR
|
||||
tests_vector_constructor();
|
||||
tests_vector_operator_assignation();
|
||||
// tests_vector_constructor();
|
||||
// tests_vector_operator_assignation();
|
||||
// tests_vector_begin();
|
||||
// tests_vector_end();
|
||||
// tests_vector_rbegin();
|
||||
// tests_vector_rend();
|
||||
// tests_vector_size();
|
||||
// tests_vector_max_size();
|
||||
// tests_vector_resize();
|
||||
tests_vector_resize();
|
||||
// tests_vector_capacity();
|
||||
// tests_vector_empty();
|
||||
// tests_vector_reserve();
|
||||
@@ -101,6 +101,7 @@ int main() {
|
||||
std::cout << "\n" << B_CYAN << "-- " << test_list[i][j]->type
|
||||
<< " --" << RESET "\n";
|
||||
test_list[i][j]->func();
|
||||
delete test_list[i][j];
|
||||
}
|
||||
}
|
||||
std::cout << "\n";
|
||||
|
||||
Reference in New Issue
Block a user