diff options
author | pozhilov <pozhilov@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 23bf1d16dddf213a6aa8e8d5c8621e1242a1f118 (patch) | |
tree | ed030ff443eb83431f11e53b6460b1b73d035412 /util/folder | |
parent | 7156b3713e77ce36387436e5558320917698b7a2 (diff) | |
download | ydb-23bf1d16dddf213a6aa8e8d5c8621e1242a1f118.tar.gz |
Restoring authorship annotation for <pozhilov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/folder')
-rw-r--r-- | util/folder/path.h | 6 | ||||
-rw-r--r-- | util/folder/tempdir.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/util/folder/path.h b/util/folder/path.h index 2fb4d6b4ef..62c9741d1b 100644 --- a/util/folder/path.h +++ b/util/folder/path.h @@ -62,9 +62,9 @@ public: TFsPath& operator/=(const TFsPath& that); - friend TFsPath operator/(const TFsPath& s, const TFsPath& p) { - TFsPath ret(s); - return ret /= p; + friend TFsPath operator/(const TFsPath& s, const TFsPath& p) { + TFsPath ret(s); + return ret /= p; } const TPathSplit& PathSplit() const; diff --git a/util/folder/tempdir.h b/util/folder/tempdir.h index ff458f83b9..0eef1c2e1f 100644 --- a/util/folder/tempdir.h +++ b/util/folder/tempdir.h @@ -1,7 +1,7 @@ #pragma once #include "fwd.h" -#include "path.h" +#include "path.h" #include <util/generic/string.h> class TTempDir { @@ -22,10 +22,10 @@ public: } const TString& Name() const { - return TempDir.GetPath(); - } - - const TFsPath& Path() const { + return TempDir.GetPath(); + } + + const TFsPath& Path() const { return TempDir; } @@ -38,6 +38,6 @@ private: // by requiring additional fake argument. TTempDir(const char* prefix, TCreationToken); - TFsPath TempDir; + TFsPath TempDir; bool Remove; }; |