aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/exception/exception.cpp
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2025-02-22 17:28:25 +0300
committerbabenko <babenko@yandex-team.com>2025-02-22 17:48:29 +0300
commit59afaa0cb7cd89146dd10f5446256afcce33bd0e (patch)
tree38d3c46bcba8da7c3b8ffc6b818695bc6b62d532 /library/cpp/yt/exception/exception.cpp
parent1d9cc117e33b162a5247032e175ed7ea26971437 (diff)
downloadydb-59afaa0cb7cd89146dd10f5446256afcce33bd0e.tar.gz
YT-22593: More trivial TString->std::string migrations
[nodiff:runtime] commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
Diffstat (limited to 'library/cpp/yt/exception/exception.cpp')
-rw-r--r--library/cpp/yt/exception/exception.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/exception/exception.cpp b/library/cpp/yt/exception/exception.cpp
index 71ece1ff2e..5a1e33d7a6 100644
--- a/library/cpp/yt/exception/exception.cpp
+++ b/library/cpp/yt/exception/exception.cpp
@@ -20,14 +20,14 @@ void AddAttributes(TSimpleException::TAttributes& attrs, TRange&& range)
////////////////////////////////////////////////////////////////////////////////
-TSimpleException::TSimpleException(TString message)
+TSimpleException::TSimpleException(std::string message)
: Message_(std::move(message))
, What_(Message_)
{ }
TSimpleException::TSimpleException(
const std::exception& exception,
- TString message)
+ std::string message)
: InnerException_(std::current_exception())
, Message_(std::move(message))
, What_(Message_ + "\n" + exception.what())
@@ -43,7 +43,7 @@ const char* TSimpleException::what() const noexcept
return What_.c_str();
}
-const TString& TSimpleException::GetMessage() const
+const std::string& TSimpleException::GetMessage() const
{
return Message_;
}