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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user