Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ReleaseOsmNodes
Method · 0.45
Calls
1
swap
Function · 0.70
Tested by
no test coverage detected