Browse Source

Revert "Amazing, now I get swap() conflicts from the other side, F.F.S."

The Utility::swap() addition was reverted until a robust solution for
the ambiguity is found.

This reverts commit 3784ca94cf.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
d602c49b47
  1. 2
      src/Magnum/Resource.h

2
src/Magnum/Resource.h

@ -271,7 +271,7 @@ template<class T, class U> Resource<T, U>::Resource(Resource<T, U>&& other) noex
}
template<class T, class U> Resource<T, U>& Resource<T, U>::operator=(Resource<T, U>&& other) noexcept {
using Utility::swap;
using std::swap;
swap(_manager, other._manager);
swap(_key, other._key);
swap(_lastCheck, other._lastCheck);

Loading…
Cancel
Save