Make it work on centos7

This commit is contained in:
zvon 2021-07-27 17:13:32 +00:00
parent 6537cf3cc3
commit 40173857db

View File

@ -5,7 +5,7 @@
bool Configuration::readConfiguration(const std::string &file) {
libconfig::Config cfg;
try {
cfg.readFile(file);
cfg.readFile(file.c_str());
} catch (const libconfig::FileIOException &fioex) {
std::cerr << "Couldn't open configuration file" << std::endl;
return false;