diff options
| author | Martin Ridgers <[email protected]> | 2021-12-01 09:27:17 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-12-02 11:35:46 +0100 |
| commit | a6d8f3d4c6cc30860cf1578e0a7606a46a8e4575 (patch) | |
| tree | 49fa7bd230753fa3b4e0870b4c4534c167d34039 /zencore/include | |
| parent | Wrap include with ZEN_THIRDPARTY macros instead of pragmas (diff) | |
| download | zen-a6d8f3d4c6cc30860cf1578e0a7606a46a8e4575.tar.xz zen-a6d8f3d4c6cc30860cf1578e0a7606a46a8e4575.zip | |
Added a "path_string" type to the file traversal class
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/filesystem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h index 113ffd614..8755801f4 100644 --- a/zencore/include/zencore/filesystem.h +++ b/zencore/include/zencore/filesystem.h @@ -135,7 +135,8 @@ class FileSystemTraversal public: struct TreeVisitor { - using path_view = std::basic_string_view<std::filesystem::path::value_type>; + using path_view = std::basic_string_view<std::filesystem::path::value_type>; + using path_string = std::filesystem::path::string_type; virtual void VisitFile(const std::filesystem::path& Parent, const path_view& File, uint64_t FileSize) = 0; |