From: =?utf-8?q?Timo_R=C3=B6hling?= Date: Sat, 11 Dec 2021 14:21:01 +0100 Subject: Use C++17 filesystem library --- src/draco/io/file_writer_utils.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/draco/io/file_writer_utils.cc b/src/draco/io/file_writer_utils.cc index 08ca4c2..b32777b 100644 --- a/src/draco/io/file_writer_utils.cc +++ b/src/draco/io/file_writer_utils.cc @@ -8,7 +8,7 @@ #include "draco/draco_features.h" #ifdef DRACO_TRANSCODER_SUPPORTED -#include "ghc/filesystem.hpp" +#include #endif // DRACO_TRANSCODER_SUPPORTED namespace draco { @@ -64,8 +64,8 @@ bool CheckAndCreatePathForFile(const std::string &filename) { SplitPathPrivate(filename, &path, &basename); #ifdef DRACO_TRANSCODER_SUPPORTED - const ghc::filesystem::path ghc_path(path); - ghc::filesystem::create_directories(ghc_path); + const std::filesystem::path fs_path(path); + std::filesystem::create_directories(fs_path); #endif // DRACO_TRANSCODER_SUPPORTED return DirectoryExists(path); }