diff options
Diffstat (limited to 'util/folder/pathsplit.cpp')
| -rw-r--r-- | util/folder/pathsplit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/folder/pathsplit.cpp b/util/folder/pathsplit.cpp index cb2340bbc60..81d439a727b 100644 --- a/util/folder/pathsplit.cpp +++ b/util/folder/pathsplit.cpp @@ -17,8 +17,8 @@ static inline size_t ToReserve(const T& t) { } void TPathSplitTraitsUnix::DoParseFirstPart(const TStringBuf part) { - if (part == TStringBuf(".")) { - push_back(TStringBuf(".")); + if (part == TStringBuf(".")) { + push_back(TStringBuf(".")); return; } @@ -46,8 +46,8 @@ void TPathSplitTraitsUnix::DoParsePart(const TStringBuf part0) { void TPathSplitTraitsWindows::DoParseFirstPart(const TStringBuf part0) { TStringBuf part(part0); - if (part == TStringBuf(".")) { - push_back(TStringBuf(".")); + if (part == TStringBuf(".")) { + push_back(TStringBuf(".")); return; } @@ -107,9 +107,9 @@ TString TPathSplitStore::DoReconstruct(const TStringBuf slash) const { } void TPathSplitStore::AppendComponent(const TStringBuf comp) { - if (!comp || comp == TStringBuf(".")) { + if (!comp || comp == TStringBuf(".")) { ; // ignore - } else if (comp == TStringBuf("..") && !empty() && back() != TStringBuf("..")) { + } else if (comp == TStringBuf("..") && !empty() && back() != TStringBuf("..")) { pop_back(); } else { // push back first .. also |
