aboutsummaryrefslogtreecommitdiffstats
path: root/util/folder/path.h
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2023-06-08 19:08:24 +0300
committerdimdim11 <dimdim11@yandex-team.com>2023-06-08 19:08:24 +0300
commit8642bc755ab5b51752619694224388b2d247c737 (patch)
tree92308ad5dc9d264b67a817a6eb2ab83050a0d36e /util/folder/path.h
parentbb56a84dcf62e1f592b6be5a8fbc8298ee9478b0 (diff)
downloadydb-8642bc755ab5b51752619694224388b2d247c737.tar.gz
Refactor and fix constructors TString as std::string
Fix move constructors when used std::string instead of TString
Diffstat (limited to 'util/folder/path.h')
-rw-r--r--util/folder/path.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/folder/path.h b/util/folder/path.h
index e1615a947a..15532c6252 100644
--- a/util/folder/path.h
+++ b/util/folder/path.h
@@ -35,10 +35,10 @@ public:
}
TFsPath(const TFsPath& that);
- TFsPath(TFsPath&& that) = default;
+ TFsPath(TFsPath&& that);
TFsPath& operator=(const TFsPath& that);
- TFsPath& operator=(TFsPath&& that) = default;
+ TFsPath& operator=(TFsPath&& that);
~TFsPath() = default;
@@ -213,7 +213,6 @@ public:
private:
void InitSplit() const;
TSplit& GetSplit() const;
- void CopySplitFrom(const TFsPath& that) const;
private:
TString Path_;