From: vspefs Date: Thu, 29 Jan 2026 16:58:19 +0000 (+0000) Subject: libstdc++: fix a wrong export of a contracts facility in std module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e47e85dd847665b86e6068d59027771208befaa;p=thirdparty%2Fgcc.git libstdc++: fix a wrong export of a contracts facility in std module 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 --- diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in index 424f81004d6..bcaa0cb51b6 100644 --- a/libstdc++-v3/src/c++23/std.cc.in +++ b/libstdc++-v3/src/c++23/std.cc.in @@ -1031,7 +1031,7 @@ export namespace std::contracts 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