diff options
author | dimdim11 <dimdim11@yandex-team.com> | 2023-06-08 19:08:24 +0300 |
---|---|---|
committer | dimdim11 <dimdim11@yandex-team.com> | 2023-06-08 19:08:24 +0300 |
commit | 8642bc755ab5b51752619694224388b2d247c737 (patch) | |
tree | 92308ad5dc9d264b67a817a6eb2ab83050a0d36e /util/folder/path.h | |
parent | bb56a84dcf62e1f592b6be5a8fbc8298ee9478b0 (diff) | |
download | ydb-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.h | 5 |
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_; |