X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Fgesturedetector.h;fp=source%2Finput%2Fgesturedetector.h;h=0b31fd8c1c23aff34aad6914c0d23634566a6cdd;hp=7f9726c8295ce5d223b93f241dd013f3918cabd9;hb=0ea9d1cd23fa58281e3726c088fc7961d8a29a29;hpb=f123908c33d846e484efaddc06b646cd73745cc6 diff --git a/source/input/gesturedetector.h b/source/input/gesturedetector.h index 7f9726c..0b31fd8 100644 --- a/source/input/gesturedetector.h +++ b/source/input/gesturedetector.h @@ -30,10 +30,7 @@ absolute values greater than one. class GestureDetector: public Device { private: - enum - { - MAX_POINTS = 3 - }; + static constexpr size_t MAX_POINTS = 3; struct TouchPoint {