summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarkady-e1ppa <[email protected]>2024-08-19 15:22:01 +0300
committerarkady-e1ppa <[email protected]>2024-08-19 15:33:28 +0300
commitab67ad8b7317ed8adda1b4d904a745c7eb064dd4 (patch)
treeae6e15f7751f082634fcbefeb701ba3dfc97ade3
parenta8cb56ddf29a3294991cf1b733611e4728d6b0e7 (diff)
Remove unjustified noexcept specifier
1ea40a2a3daf0f27f05cde14504f261d2cc902c6
-rw-r--r--yt/yt/core/misc/stripped_error.cpp2
-rw-r--r--yt/yt/core/misc/stripped_error.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/misc/stripped_error.cpp b/yt/yt/core/misc/stripped_error.cpp
index 732ac163edc..c636ce9ce95 100644
--- a/yt/yt/core/misc/stripped_error.cpp
+++ b/yt/yt/core/misc/stripped_error.cpp
@@ -492,7 +492,7 @@ TOriginAttributes* TError::MutableOriginAttributes() const noexcept
return Impl_->MutableOriginAttributes();
}
-void TError::SetAttributes(NYTree::IAttributeDictionaryPtr attributes) noexcept
+void TError::SetAttributes(NYTree::IAttributeDictionaryPtr attributes)
{
if (!Impl_) {
return;
diff --git a/yt/yt/core/misc/stripped_error.h b/yt/yt/core/misc/stripped_error.h
index aea3077e635..fc4de80db60 100644
--- a/yt/yt/core/misc/stripped_error.h
+++ b/yt/yt/core/misc/stripped_error.h
@@ -149,7 +149,7 @@ public:
// Used for deserialization only.
TOriginAttributes* MutableOriginAttributes() const noexcept;
- void SetAttributes(NYTree::IAttributeDictionaryPtr attributes) noexcept;
+ void SetAttributes(NYTree::IAttributeDictionaryPtr attributes);
TError Truncate(
int maxInnerErrorCount = 2,