mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
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 <vspefs@protonmail.com>
This commit is contained 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user