aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-20 13:15:30 +0200
committerMartin Ridgers <[email protected]>2021-10-20 13:15:30 +0200
commitddcc74bb2fe3fec980cc7767a9f1b8e4c1ca6ee2 (patch)
treec5eeb1bb78e8f7c91418e341f05fcfd6230135c3
parentAdded a ToUtf8() to ExtPathBuilder (diff)
downloadzen-ddcc74bb2fe3fec980cc7767a9f1b8e4c1ca6ee2.tar.xz
zen-ddcc74bb2fe3fec980cc7767a9f1b8e4c1ca6ee2.zip
Cross-platform argument to ZEN_DEBUG()
-rw-r--r--zenstore/filecas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index 98807960d..1d3f744e6 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -339,7 +339,7 @@ FileCasStrategy::DeleteChunk(const IoHash& ChunkHash, std::error_code& Ec)
{
ShardingHelper Name(m_Config.RootDirectory.c_str(), ChunkHash);
- ZEN_DEBUG("deleting CAS payload file '{}'", WideToUtf8(Name.ShardedPath));
+ ZEN_DEBUG("deleting CAS payload file '{}'", Name.ShardedPath.ToUtf8());
std::filesystem::remove(Name.ShardedPath.c_str(), Ec);
}