small changes

This commit is contained in:
Jinhao
2017-10-17 06:49:39 +08:00
parent 99a0cd2f8d
commit 24bbfc6493
3 changed files with 11 additions and 14 deletions

View File

@@ -271,7 +271,7 @@ namespace paint
graphics::operator bool() const noexcept
{
return impl_->handle;
return (impl_->handle != nullptr);
}
drawable_type graphics::handle() const