fix some legacy issues

This commit is contained in:
Jinhao
2017-09-30 07:19:15 +08:00
parent a3cd37b9d5
commit 28e9bb8a7d
2 changed files with 3 additions and 3 deletions

View File

@@ -269,7 +269,7 @@ namespace paint
return (!impl_->handle);
}
graphics::operator const void *() const
graphics::operator bool() const
{
return impl_->handle;
}