mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-11 00:18:29 +00:00
Extra constructor for own msg
This commit is contained in:
parent
5a41152dbb
commit
fd9dd921a4
@ -38,11 +38,13 @@
|
|||||||
class fork_throw : public std::runtime_error {
|
class fork_throw : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
fork_throw() : std::runtime_error("Fork happened") {}
|
fork_throw() : std::runtime_error("Fork happened") {}
|
||||||
|
fork_throw(const std::string &msg) : std::runtime_error(msg) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class unknown_arg_throw : public std::runtime_error {
|
class unknown_arg_throw : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
unknown_arg_throw() : std::runtime_error("Unknown argumunt given") {}
|
unknown_arg_throw() : std::runtime_error("Unknown argumunt given") {}
|
||||||
|
unknown_arg_throw(const std::string &msg) : std::runtime_error(msg) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
void clean_up(void *memtofree1, void* memtofree2);
|
void clean_up(void *memtofree1, void* memtofree2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user