X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fgesturedetector.h;h=0b31fd8c1c23aff34aad6914c0d23634566a6cdd;hb=27356249e3607c78f5da9823c88703a6f4f7bed1;hp=7f9726c8295ce5d223b93f241dd013f3918cabd9;hpb=294c354ae3b1f26887c37f866f082e52c08d80f1;p=libs%2Fgui.git 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 {