Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
124
void SwapIfNeeded(size_t & a, size_t & b)
125
{
126
if (a > b)
127
std::swap(a, b);
128
}
129
} // namespace
130
131
namespace poly_borders
Callers
1
TryToReplace
Method · 0.85
Calls
1
swap
Function · 0.50
Tested by
no test coverage detected