mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Use FairMQDevice::CatchSignals for Tutorial7
This commit is contained in:
committed by
Mohammad Al-Turany
parent
dc6fb4698c
commit
8b71e4d20b
@@ -12,8 +12,6 @@
|
||||
* @author D. Klein, A. Rybalchenko
|
||||
*/
|
||||
|
||||
#include <cstdlib> // quick_exit()
|
||||
|
||||
#include "FairMQLogger.h"
|
||||
#include "FairMQConfigurable.h"
|
||||
|
||||
@@ -26,7 +24,7 @@ FairMQConfigurable::FairMQConfigurable()
|
||||
void FairMQConfigurable::SetProperty(const int key, const string& value)
|
||||
{
|
||||
LOG(ERROR) << "Reached end of the property list. SetProperty(" << key << ", " << value << ") has no effect.";
|
||||
quick_exit(EXIT_FAILURE);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
string FairMQConfigurable::GetProperty(const int key, const string& default_ /*= ""*/)
|
||||
@@ -38,7 +36,7 @@ string FairMQConfigurable::GetProperty(const int key, const string& default_ /*=
|
||||
void FairMQConfigurable::SetProperty(const int key, const int value)
|
||||
{
|
||||
LOG(ERROR) << "Reached end of the property list. SetProperty(" << key << ", " << value << ") has no effect.";
|
||||
quick_exit(EXIT_FAILURE);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
int FairMQConfigurable::GetProperty(const int key, const int default_ /*= 0*/)
|
||||
|
Reference in New Issue
Block a user