diff --git a/source/paint/graphics.cpp b/source/paint/graphics.cpp index 00cb26de..f31f3afd 100644 --- a/source/paint/graphics.cpp +++ b/source/paint/graphics.cpp @@ -269,7 +269,7 @@ namespace paint return (!impl_->handle); } - graphics::operator bool() const + graphics::operator bool() const noexcept { return impl_->handle; } @@ -291,7 +291,7 @@ namespace paint return (impl_->handle ? impl_->handle->context : nullptr); } - void graphics::swap(graphics& other) + void graphics::swap(graphics& other) noexcept { if (context() != other.context()) impl_.swap(other.impl_);