From 2f3189142052b5145009cf76cdac9e5aadfed5b4 Mon Sep 17 00:00:00 2001 From: Aaron Gokaslan Date: Tue, 15 Jun 2021 09:25:44 +0200 Subject: [PATCH] Add noexcept here as well. --- src/Magnum/ResourceManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/ResourceManager.h b/src/Magnum/ResourceManager.h index b7f66101b..9315a7dde 100644 --- a/src/Magnum/ResourceManager.h +++ b/src/Magnum/ResourceManager.h @@ -570,7 +570,7 @@ template struct ResourceManagerData::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; }