2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 19:12:08 +00:00

Use unqualified swap to allow ADL.

This commit is contained in:
Jeremy W. Murphy
2016-04-05 09:41:59 +10:00
parent 7789138e52
commit 232a64424f

View File

@@ -83,12 +83,12 @@ namespace detail
{
while (b != EuclideanDomain(0))
{
a = a % b;
std::swap(a, b);
a %= b;
swap(a, b);
}
return a;
}
}
} // namespace detail
template <typename T>