From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
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 3dab80b..5453376 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 <filesystem>
 #endif  // DRACO_TRANSCODER_SUPPORTED
 
 namespace draco {
@@ -65,8 +65,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
   const bool directory_exists = DirectoryExists(path);
 
