Fix build with BOOST_FILESYSTEM_NO_DEPRECATED
Change-Id: Ibdd3e7c4de0e8a0a4d6ae08c26386ea780f97f57
diff --git a/src/conf-file-processor.hpp b/src/conf-file-processor.hpp
index f7270ba..735a0c1 100644
--- a/src/conf-file-processor.hpp
+++ b/src/conf-file-processor.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2020, The University of Memphis,
+ * Copyright (c) 2014-2021, The University of Memphis,
* Regents of the University of California,
* Arizona Board of Regents.
*
@@ -26,12 +26,10 @@
#include "conf-parameter.hpp"
#include <boost/algorithm/string.hpp>
-#include <boost/property_tree/info_parser.hpp>
-#include <boost/filesystem.hpp>
+#include <boost/property_tree/ptree.hpp>
namespace nlsr {
-namespace bf = boost::filesystem;
using ConfigSection = boost::property_tree::ptree;
/*! \brief A class containing methods to parse an NLSR configuration file
@@ -125,4 +123,5 @@
};
} // namespace nlsr
+
#endif // NLSR_CONF_FILE_PROCESSOR_HPP