Skip to content

Commit 0fc68e7

Browse files
committed
iox-#1032 Remove 'noexcept' from overrides
1 parent 6533df8 commit 0fc68e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

iceoryx_hoofs/testing/error_reporting/testing_error_handler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,19 @@ TestingErrorHandler::TestingErrorHandler() noexcept
4747
{
4848
}
4949

50-
void TestingErrorHandler::onPanic() noexcept
50+
void TestingErrorHandler::onPanic()
5151
{
5252
m_panicked = true;
5353
jump();
5454
}
5555

56-
void TestingErrorHandler::onReportError(er::ErrorDescriptor desc) noexcept
56+
void TestingErrorHandler::onReportError(er::ErrorDescriptor desc)
5757
{
5858
std::lock_guard<std::mutex> g(m_mutex);
5959
m_errors.push_back(desc);
6060
}
6161

62-
void TestingErrorHandler::onReportViolation(er::ErrorDescriptor desc) noexcept
62+
void TestingErrorHandler::onReportViolation(er::ErrorDescriptor desc)
6363
{
6464
std::lock_guard<std::mutex> g(m_mutex);
6565
m_violations.push_back(desc);

iceoryx_hoofs/testing/include/iceoryx_hoofs/testing/error_reporting/testing_error_handler.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ class TestingErrorHandler : public iox::er::ErrorHandlerInterface
7070
static void init() noexcept;
7171

7272
/// @brief Defines the reaction on panic.
73-
void onPanic() noexcept override;
73+
void onPanic() override;
7474

7575
/// @brief Defines the reaction on error.
7676
/// @param desc error descriptor
77-
void onReportError(er::ErrorDescriptor desc) noexcept override;
77+
void onReportError(er::ErrorDescriptor desc) override;
7878

7979
/// @brief Defines the reaction on violation.
8080
/// @param desc error descriptor
81-
void onReportViolation(er::ErrorDescriptor desc) noexcept override;
81+
void onReportViolation(er::ErrorDescriptor desc) override;
8282

8383
/// @brief Indicates whether there was a panic call previously.
8484
/// @return true if there was a panic call, false otherwise

0 commit comments

Comments
 (0)