X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fsmoothcontrol.h;fp=source%2Finput%2Fsmoothcontrol.h;h=b5eb9aa2fd9dea6c56d81a38d40ed88755893671;hp=5f7182404bc5cb11bf12bdebd5cb3b1dc7259ef1;hb=507fa60f32bd3f64840a2cdd1be5d68478432b55;hpb=cea95778acfd6e172639cafd7ad249cc13ceb2a6 diff --git a/source/input/smoothcontrol.h b/source/input/smoothcontrol.h index 5f71824..b5eb9aa 100644 --- a/source/input/smoothcontrol.h +++ b/source/input/smoothcontrol.h @@ -21,7 +21,7 @@ public: private: float value = 0.0f; - SmoothControl *paired_ctrl = 0; + SmoothControl *paired_ctrl = nullptr; float dead_zone = 0.1f; float threshold = 0.9f;