mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
Library for compressing and decompressing 3D geometric meshes and point clouds https://google.github.io/draco/
32 lines
1 KiB
Diff
32 lines
1 KiB
Diff
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 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 <filesystem>
|
|
#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);
|
|
}
|