This patch fixes a wrong export name in std module. std module currently
exports std::contracts::invoke_default_violation_handler, which is wrong.
The correct name is std::contracts::invoke_default_contract_violation_handler.
libstdc++-v3/ChangeLog:
* src/c++23/std.cc.in (invoke_default_violation_handler): Change
to invoke_default_contract_violation_handler.
Signed-off-by: Xie Han <vspefs@protonmail.com>
using std::contracts::evaluation_semantic;
using std::contracts::detection_mode;
using std::contracts::contract_violation;
- using std::contracts::invoke_default_violation_handler;
+ using std::contracts::invoke_default_contract_violation_handler;
}
#endif // __cpp_lib_contracts