Browse Source

Add noexcept here as well.

pull/521/head
Aaron Gokaslan 5 years ago committed by Vladimír Vondruš
parent
commit
2f31891420
  1. 2
      src/Magnum/ResourceManager.h

2
src/Magnum/ResourceManager.h

@ -570,7 +570,7 @@ template<class T> struct ResourceManagerData<T>::Data {
Data(const Data&) = delete;
Data(Data&& other): data(other.data), state(other.state), policy(other.policy), referenceCount(other.referenceCount) {
Data(Data&& other) noexcept: data{other.data}, state{other.state}, policy{other.policy}, referenceCount{other.referenceCount} {
other.data = nullptr;
other.referenceCount = 0;
}

Loading…
Cancel
Save