From 13223125d7f5f0b2fa218d53eb00a002648a6647 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 17 Sep 2024 11:11:38 +0200 Subject: [PATCH] resource: noexcept-ness review --- src/entt/resource/resource.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/resource/resource.hpp b/src/entt/resource/resource.hpp index 9cf013800..0b0ee3817 100644 --- a/src/entt/resource/resource.hpp +++ b/src/entt/resource/resource.hpp @@ -120,7 +120,7 @@ public: * @brief Exchanges the content with that of a given resource. * @param other Resource to exchange the content with. */ - void swap(resource &other) { + void swap(resource &other) noexcept { using std::swap; swap(value, other.value); }