diff options
author | babenko <babenko@yandex-team.com> | 2025-02-22 17:28:25 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2025-02-22 17:48:29 +0300 |
commit | 59afaa0cb7cd89146dd10f5446256afcce33bd0e (patch) | |
tree | 38d3c46bcba8da7c3b8ffc6b818695bc6b62d532 /library/cpp/yt/exception/exception.h | |
parent | 1d9cc117e33b162a5247032e175ed7ea26971437 (diff) | |
download | ydb-59afaa0cb7cd89146dd10f5446256afcce33bd0e.tar.gz |
YT-22593: More trivial TString->std::string migrations
[nodiff:runtime]
commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
Diffstat (limited to 'library/cpp/yt/exception/exception.h')
-rw-r--r-- | library/cpp/yt/exception/exception.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/yt/exception/exception.h b/library/cpp/yt/exception/exception.h index 2898b99f0d..6e939d072a 100644 --- a/library/cpp/yt/exception/exception.h +++ b/library/cpp/yt/exception/exception.h @@ -25,15 +25,15 @@ public: { ex <<= std::forward<TValue>(operand) } -> std::same_as<TSimpleException&>; }; - explicit TSimpleException(TString message); + explicit TSimpleException(std::string message); TSimpleException( const std::exception& exception, - TString message); + std::string message); const std::exception_ptr& GetInnerException() const; const char* what() const noexcept override; - const TString& GetMessage() const; + const std::string& GetMessage() const; const TAttributes& GetAttributes() const &; TAttributes&& GetAttributes() &&; @@ -65,8 +65,8 @@ public: private: const std::exception_ptr InnerException_; - const TString Message_; - const TString What_; + const std::string Message_; + const std::string What_; TAttributes Attributes_; }; |