diff options
Diffstat (limited to 'backend/util.h')
-rw-r--r-- | backend/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/util.h b/backend/util.h index 1889698..44d9a49 100644 --- a/backend/util.h +++ b/backend/util.h @@ -1,6 +1,11 @@ #pragma once +#include "List.h" + void safe_free(void * & ptr); void safe_free(const char * & ptr); +template <typename T> +void safe_free(List<T *> & ptr_list); +#include "util.hpp" |