MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / ReleaseOsmNodes

Method ReleaseOsmNodes

src/extractor/node_based_graph_factory.cpp:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void NodeBasedGraphFactory::ReleaseOsmNodes()
235{
236 // replace with a new vector to release old memory
237 extractor::PackedOSMIDs().swap(osm_node_ids);
238}
239
240} // namespace osrm::extractor

Callers 1

runMethod · 0.80

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected