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

Method ArrayStorage

include/util/query_heap.hpp:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17{
18 public:
19 explicit ArrayStorage(std::size_t size) : positions(size, 0) {}
20
21 Key &operator[](NodeID node) { return positions[node]; }
22

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected