diff options
author | Patrick Venture <venture@google.com> | 2019-03-08 13:08:42 -0800 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2019-03-08 13:09:37 -0800 |
commit | 48eb4029694c228ee8bb09202efb9d6c8b741d96 (patch) | |
tree | 76e9a5325a180e7bdfda5bc37782eadcc33934c3 | |
parent | fd4cdea449f01b910b654b78f2076cf76540619c (diff) | |
download | phosphor-ipmi-blobs-48eb4029694c228ee8bb09202efb9d6c8b741d96.tar.gz phosphor-ipmi-blobs-48eb4029694c228ee8bb09202efb9d6c8b741d96.zip |
use filesystem instead of experimental
Use filesystem now that it should be available instead of
experimental::filesystem.
Change-Id: Ia9b17f33ced70fe2f1f12f11d8708d15ff422bfa
Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | fs.cpp | 4 | ||||
-rw-r--r-- | test/utils_unittest.cpp | 4 |
3 files changed, 4 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 1e906a8..fb3d62a 100644 --- a/configure.ac +++ b/configure.ac @@ -42,11 +42,6 @@ PKG_CHECK_MODULES( [], [AC_MSG_ERROR([Could not find libipmid...openbmc/phosphor-host-ipmid package required])] ) -AC_CHECK_HEADER( - experimental/filesystem, - [], - [AC_MSG_ERROR([Could not find experimental/filesystem...libstdc++fs developement package required])] -) AX_PTHREAD([], [AC_MSG_ERROR(["pthread required and not found"])]) # Make it possible for users to choose if they want test support @@ -16,13 +16,13 @@ #include "fs.hpp" -#include <experimental/filesystem> +#include <filesystem> #include <string> #include <vector> namespace blobs { -namespace fs = std::experimental::filesystem; +namespace fs = std::filesystem; std::vector<std::string> getLibraryList(const std::string& path, PathMatcher check) diff --git a/test/utils_unittest.cpp b/test/utils_unittest.cpp index b986bd8..6b89f6a 100644 --- a/test/utils_unittest.cpp +++ b/test/utils_unittest.cpp @@ -4,14 +4,14 @@ #include "manager_mock.hpp" #include "utils.hpp" -#include <experimental/filesystem> +#include <filesystem> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> -namespace fs = std::experimental::filesystem; +namespace fs = std::filesystem; namespace blobs { |