diff options
| author | Martin Ridgers <[email protected]> | 2021-10-20 13:16:06 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-20 13:16:06 +0200 |
| commit | d83247f2a92a6be6911826fbb24f067d35e555b8 (patch) | |
| tree | e87de54e799e38aedaf3f01b2f5ef07e54226f40 | |
| parent | Cross-platform argument to ZEN_DEBUG() (diff) | |
| download | zen-d83247f2a92a6be6911826fbb24f067d35e555b8.tar.xz zen-d83247f2a92a6be6911826fbb24f067d35e555b8.zip | |
Fixed concrete Visitor to use the correct argument types
| -rw-r--r-- | zenstore/filecas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index 1d3f744e6..4d4a071e8 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -364,7 +364,7 @@ FileCasStrategy::IterateChunks(std::function<void(const IoHash& Hash, BasicFile& struct Visitor : public FileSystemTraversal::TreeVisitor { Visitor(const std::filesystem::path& RootDir) : RootDirectory(RootDir) {} - virtual void VisitFile(const std::filesystem::path& Parent, const std::wstring_view& File, uint64_t FileSize) override + virtual void VisitFile(const std::filesystem::path& Parent, const path_view& File, uint64_t FileSize) override { ZEN_UNUSED(FileSize); @@ -399,7 +399,7 @@ FileCasStrategy::IterateChunks(std::function<void(const IoHash& Hash, BasicFile& } virtual bool VisitDirectory([[maybe_unused]] const std::filesystem::path& Parent, - [[maybe_unused]] const std::wstring_view& DirectoryName) + [[maybe_unused]] const path_view& DirectoryName) { return true; } |