Make it work on centos7
This commit is contained in:
parent
6537cf3cc3
commit
40173857db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user