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:
parent
74de272dce
commit
863bd2441b
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user