diff options
Diffstat (limited to 'util/folder/pathsplit.cpp')
| -rw-r--r-- | util/folder/pathsplit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/pathsplit.cpp b/util/folder/pathsplit.cpp index 81d439a727b..44a4810fefc 100644 --- a/util/folder/pathsplit.cpp +++ b/util/folder/pathsplit.cpp @@ -85,8 +85,8 @@ void TPathSplitTraitsWindows::DoParsePart(const TStringBuf part0) { } } -TString TPathSplitStore::DoReconstruct(const TStringBuf slash) const { - TString r; +TString TPathSplitStore::DoReconstruct(const TStringBuf slash) const { + TString r; r.reserve(ToReserve(*this)); @@ -126,7 +126,7 @@ void Out<TPathSplit>(IOutputStream& o, const TPathSplit& ps) { o << ps.Reconstruct(); } -TString JoinPaths(const TPathSplit& p1, const TPathSplit& p2) { +TString JoinPaths(const TPathSplit& p1, const TPathSplit& p2) { if (p2.IsAbsolute) { ythrow yexception() << "can not join " << p1 << " and " << p2; } |
