aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-30 16:12:40 +0100
committerMartin Ridgers <[email protected]>2021-12-01 09:31:50 +0100
commit28b26b7766903b312cbc97afa3295898f1759e95 (patch)
tree21ec4fdf963693cd710496f1038b54bb1ff8599a
parentChanged dedupe command to work with paths as utf8 strings (diff)
downloadzen-28b26b7766903b312cbc97afa3295898f1759e95.tar.xz
zen-28b26b7766903b312cbc97afa3295898f1759e95.zip
Removed unused Utf8Helper class
-rw-r--r--zen/cmds/dedup.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/zen/cmds/dedup.cpp b/zen/cmds/dedup.cpp
index 7a6d82415..1c34a5f95 100644
--- a/zen/cmds/dedup.cpp
+++ b/zen/cmds/dedup.cpp
@@ -116,15 +116,6 @@ DedupCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv)
std::filesystem::recursive_directory_iterator DirEnd;
- struct Utf8Helper
- {
- zen::ExtendableStringBuilder<128> Path8;
-
- Utf8Helper(const wchar_t* Path) { zen::WideToUtf8(Path, Path8); };
-
- std::string_view c_str() { return std::string_view(Path8); };
- };
-
ZEN_INFO("Gathering file info from source: '{}'", m_DedupSource);
ZEN_INFO("Gathering file info from target: '{}'", m_DedupTarget);