diff --git a/src/logging.h b/src/logging.h index a6fa7118..950fd40e 100644 --- a/src/logging.h +++ b/src/logging.h @@ -62,7 +62,6 @@ class obj_create_error : public std::runtime_error { }; void clean_up(void *memtofree1, void *memtofree2); -void clean_up_without_threads(void *memtofree1, void *memtofree2); template inline void gettextize_format(const char *format, Args &&...args) { @@ -89,14 +88,6 @@ inline void CRIT_ERR(void *memtofree1, void *memtofree2, const char *format, exit(EXIT_FAILURE); } -template -inline void THREAD_CRIT_ERR(void *memtofree1, void *memtofree2, - const char *format, Args &&...args) { - NORM_ERR(format, args...); - clean_up_without_threads(memtofree1, memtofree2); - return; -} - namespace conky { class error : public std::runtime_error { public: