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

Function SwapIfNeeded

tools/poly_borders/borders_data.cpp:124–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124void SwapIfNeeded(size_t & a, size_t & b)
125{
126 if (a > b)
127 std::swap(a, b);
128}
129} // namespace
130
131namespace poly_borders

Callers 1

TryToReplaceMethod · 0.85

Calls 1

swapFunction · 0.50

Tested by

no test coverage detected