MCPcopy Create free account
hub / github.com/comaps/comaps / Swap

Method Swap

libs/routing/base/followed_polyline.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void FollowedPolyline::Swap(FollowedPolyline & rhs)
77{
78 m_poly.Swap(rhs.m_poly);
79 m_segDistance.swap(rhs.m_segDistance);
80 m_segProj.swap(rhs.m_segProj);
81 swap(m_current, rhs.m_current);
82 swap(m_nextCheckpointIndex, rhs.m_nextCheckpointIndex);
83}
84
85void FollowedPolyline::Update()
86{

Callers 2

SetGeometryMethod · 0.45
LoadMethod · 0.45

Calls 2

swapFunction · 0.50
swapMethod · 0.45

Tested by

no test coverage detected