Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ SetAssertFunction
Function
SetAssertFunction
libs/base/base.cpp:24–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
AssertFailedFn OnAssertFailed = &OnAssertFailedDefault;
23
24
AssertFailedFn SetAssertFunction(AssertFailedFn fn)
25
{
26
std::swap(OnAssertFailed, fn);
27
return fn;
28
}
29
} // namespace base
Callers
2
InitAssertLog
Function · 0.85
UNIT_TEST
Function · 0.85
Calls
1
swap
Function · 0.70
Tested by
1
UNIT_TEST
Function · 0.68