fix syntax errors
This commit is contained in:
parent
28e9bb8a7d
commit
b730f368a4
@ -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_);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user