From: Pavel Emelyanov <
xe...@scylladb.com>
Committer: Pavel Emelyanov <
xe...@scylladb.com>
Branch: next
exceptions: Mark storage_io_error::code() with noexcept
Signed-off-by: Pavel Emelyanov <
xe...@scylladb.com>
---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -52,7 +52,7 @@ public:
return _what.c_str();
}
- const std::error_code& code() const { return _code; }
+ const std::error_code& code() const noexcept { return _code; }
};
// Rethrow exception if not null