summaryrefslogtreecommitdiffstats
path: root/src/ConfigReader
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:58:29 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-08-14 21:58:29 +0200
commit5cdb425d6843c100189611c2edb37b03efc1dc5a (patch)
tree82c5e7397b2950c41c00d09ed8020e9d98ced693 /src/ConfigReader
parentad4fef28ad3fc8b73a3bf97c229e878e8c680e16 (diff)
downloadods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.gz
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.bz2
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.tar.xz
ods-5cdb425d6843c100189611c2edb37b03efc1dc5a.zip
Make it compatible with CentOS 7.5
Diffstat (limited to 'src/ConfigReader')
-rw-r--r--src/ConfigReader/ConfigReader.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ConfigReader/ConfigReader.h b/src/ConfigReader/ConfigReader.h
index 2819f41..f654a5a 100644
--- a/src/ConfigReader/ConfigReader.h
+++ b/src/ConfigReader/ConfigReader.h
@@ -11,8 +11,6 @@
#define CONFIGREADER_H
#pragma once
-#include <boost/log/trivial.hpp>
-
#include <libconfig.h++>
#include <string>
@@ -26,7 +24,6 @@ public:
template<typename T>
bool lookupValue(const std::string& identifier, T& value) {
bool ret = cfg.lookupValue(identifier.c_str(), value);
- BOOST_LOG_TRIVIAL(debug) << "Configuration value " << identifier << ": " << value;
return ret;
}
@@ -35,7 +32,6 @@ public:
libconfig::Setting& s = cfg.lookup(identifier.c_str());
if(s.getLength() > index){
value = s[index];
- BOOST_LOG_TRIVIAL(debug) << "Configuration value " << identifier << "[" << index << "]: " << value;
return true;
}
return false;