Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ ClearRecipes
Method
ClearRecipes
src/CraftingRecipes.cpp:349–356 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
347
348
349
void cCraftingRecipes::ClearRecipes(void)
350
{
351
for (cRecipes::iterator itr = m_Recipes.begin(); itr != m_Recipes.end(); ++itr)
352
{
353
delete *itr;
354
}
355
m_Recipes.clear();
356
}
357
358
359
Callers
nothing calls this directly
Calls
3
begin
Method · 0.80
end
Method · 0.80
clear
Method · 0.80
Tested by
no test coverage detected