aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/pathsplit.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/folder/pathsplit.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 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 81d439a727..44a4810fef 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;
}