Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenFodder/openfodder
/ RemoveGoal
Method
RemoveGoal
Source/Campaign.hpp:107–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
105
}
106
107
void RemoveGoal(ePhaseObjective pGoal) {
108
109
auto Goal = std::find(mGoals.begin(), mGoals.end(), pGoal);
110
if (Goal != mGoals.end())
111
mGoals.erase(Goal);
112
}
113
114
void ClearGoals() {
115
mGoals.clear();
Callers
nothing calls this directly
Calls
4
find
Function · 0.85
erase
Method · 0.80
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected