Move signal handler after the constructor

This commit is contained in:
Carles Fernandez
2023-10-05 17:47:13 +02:00
parent 0da7fc6704
commit 707c7826fb
2 changed files with 26 additions and 27 deletions
+4
View File
@@ -124,6 +124,10 @@ public:
}
private:
/*
* Callback function for handling signals.
* sig identifier of signal
*/
static void handle_signal(int sig);
void init();