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

Method swap

include/util/packed_vector.hpp:517–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515 const PackedVector &vec);
516
517 inline void swap(PackedVector &other) noexcept
518 {
519 std::swap(vec, other.vec);
520 std::swap(num_elements, other.num_elements);
521 }
522
523 private:
524 void allocate_blocks(std::size_t num_blocks)

Callers 1

ReleaseOsmNodesMethod · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected