cleanup: Remove rak::call_delete

This commit is contained in:
stickz
2025-01-11 21:22:40 -05:00
parent 4a074adc7b
commit 9c92bfc7e2
9 changed files with 9 additions and 27 deletions
+1 -2
View File
@@ -37,7 +37,6 @@
#include "config.h"
#include <algorithm>
#include <rak/functional.h>
#include <torrent/exceptions.h>
#include "text_element_list.h"
@@ -46,7 +45,7 @@ namespace display {
void
TextElementList::clear() {
std::for_each(begin(), end(), rak::call_delete<TextElement>());
std::for_each(begin(), end(), [](TextElement* t) { delete t; });
base_type::clear();
}