Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ remove
Method
remove
library/include/modules/GuiHooks.h:20–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
funcs.push_back(func);
19
}
20
void remove(T_func *func)
21
{
22
auto it = std::find(funcs.begin(), funcs.end(), func);
23
if (it != funcs.end())
24
funcs.erase(it);
25
}
26
public:
27
Hook(T_func* base) : base_func(base)
28
{ }
Callers
1
apply
Method · 0.45
Calls
4
find
Function · 0.50
begin
Method · 0.45
end
Method · 0.45
erase
Method · 0.45
Tested by
no test coverage detected