resource: noexcept-ness review

This commit is contained in:
Michele Caini
2024-09-17 11:11:38 +02:00
parent 9819234238
commit 13223125d7

View File

@@ -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);
}