aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/pathsplit.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/folder/pathsplit.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/folder/pathsplit.cpp')
-rw-r--r--util/folder/pathsplit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/folder/pathsplit.cpp b/util/folder/pathsplit.cpp
index 44a4810fef..81d439a727 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;
}