common canvas: initialize member variable.

to shutdown the static code analizer report.
This commit is contained in:
Hermet Park 2021-03-12 11:50:46 +09:00
parent 2bb108b2f1
commit efd4741a78

View file

@ -32,7 +32,7 @@ struct Canvas::Impl
{
Array<Paint*> paints;
RenderMethod* renderer;
bool refresh; //if all paints should be updated by force.
bool refresh = false; //if all paints should be updated by force.
Impl(RenderMethod* pRenderer):renderer(pRenderer)
{