Skip to content

Commit 1b91ec7

Browse files
committed
noexcept added
1 parent fbcdcb8 commit 1b91ec7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libstdc++-v3/include/std/contracts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ namespace contracts
106106
evaluation_semantic semantic() const noexcept { return _M_evaluation_semantic; }
107107
};
108108

109-
void invoke_default_contract_violation_handler(const contract_violation&);
109+
void invoke_default_contract_violation_handler(const contract_violation&) noexcept;
110110

111111
} // namespace contracts
112112

libstdc++-v3/src/experimental/contract26.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
118118
namespace contracts
119119
{
120120

121-
void invoke_default_contract_violation_handler(const std::contracts::contract_violation& violation)
121+
void invoke_default_contract_violation_handler(const std::contracts::contract_violation& violation) noexcept
122122
{
123123
return __handle_contract_violation(violation);
124124
}

0 commit comments

Comments
 (0)