aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/tempdir.h
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/tempdir.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
Diffstat (limited to 'util/folder/tempdir.h')
-rw-r--r--util/folder/tempdir.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/folder/tempdir.h b/util/folder/tempdir.h
index a6cac0cfc2..ff458f83b9 100644
--- a/util/folder/tempdir.h
+++ b/util/folder/tempdir.h
@@ -2,7 +2,7 @@
#include "fwd.h"
#include "path.h"
-#include <util/generic/string.h>
+#include <util/generic/string.h>
class TTempDir {
public:
@@ -10,18 +10,18 @@ public:
TTempDir();
/// Create new directory with this fixed name. If it already exists, clear it.
- TTempDir(const TString& tempDir);
+ TTempDir(const TString& tempDir);
~TTempDir();
/// Create new directory in given folder.
static TTempDir NewTempDir(const TString& root);
- const TString& operator()() const {
+ const TString& operator()() const {
return Name();
}
- const TString& Name() const {
+ const TString& Name() const {
return TempDir.GetPath();
}