1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00

logging: remove unused THREAD_CRIT_ERR

This commit is contained in:
bi4k8 2023-05-05 00:57:40 +00:00 committed by bi4k8
parent 74de272dce
commit 863bd2441b

View File

@ -62,7 +62,6 @@ class obj_create_error : public std::runtime_error {
}; };
void clean_up(void *memtofree1, void *memtofree2); void clean_up(void *memtofree1, void *memtofree2);
void clean_up_without_threads(void *memtofree1, void *memtofree2);
template <typename... Args> template <typename... Args>
inline void gettextize_format(const char *format, Args &&...args) { 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); exit(EXIT_FAILURE);
} }
template <typename... Args>
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 { namespace conky {
class error : public std::runtime_error { class error : public std::runtime_error {
public: public: