MCPcopy Create free account
hub / github.com/cuberite/cuberite / ~cHeightMapFactory

Method ~cHeightMapFactory

Tools/AnvilStats/HeightMap.cpp:253–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251// cHeightMapFactory:
252
253cHeightMapFactory::~cHeightMapFactory()
254{
255 // Force all threads to save their last regions:
256 for (cCallbacks::iterator itr = m_Callbacks.begin(), end = m_Callbacks.end(); itr != end; ++itr)
257 {
258 ((cHeightMap *)(*itr))->Finish();
259 }
260 // TODO: Join all the files into one giant image file
261}
262
263
264

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
FinishMethod · 0.45

Tested by

no test coverage detected