Move filesystem out of experimental namespace
This fix is needed for gcc8. Also fix out of tree build
warning looking for sdbusplus instead of sdbusplus-project.
Change-Id: I2a476ddc9e26154fed23d3992016a6e1056f7a12
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/FanMain.cpp b/src/FanMain.cpp
index 121621d..fd5e7af 100644
--- a/src/FanMain.cpp
+++ b/src/FanMain.cpp
@@ -14,6 +14,8 @@
// limitations under the License.
*/
+#include "filesystem.hpp"
+
#include <PwmSensor.hpp>
#include <TachSensor.hpp>
#include <Utils.hpp>
@@ -22,7 +24,6 @@
#include <boost/algorithm/string/replace.hpp>
#include <boost/container/flat_set.hpp>
#include <boost/lexical_cast.hpp>
-#include <experimental/filesystem>
#include <fstream>
#include <regex>
#include <sdbusplus/asio/connection.hpp>
@@ -30,7 +31,7 @@
static constexpr bool DEBUG = false;
-namespace fs = std::experimental::filesystem;
+namespace fs = std::filesystem;
namespace variant_ns = sdbusplus::message::variant_ns;
static constexpr std::array<const char*, 2> sensorTypes = {
"xyz.openbmc_project.Configuration.AspeedFan",