X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Finput%2Ftouchscreen.h;fp=source%2Finput%2Ftouchscreen.h;h=d366a28f9f2c33c05f04369eb0601af1d34159a8;hp=487a91c9760d66a93ea1bd6aceae51a78d1bcbed;hb=0ea9d1cd23fa58281e3726c088fc7961d8a29a29;hpb=f123908c33d846e484efaddc06b646cd73745cc6 diff --git a/source/input/touchscreen.h b/source/input/touchscreen.h index 487a91c..d366a28 100644 --- a/source/input/touchscreen.h +++ b/source/input/touchscreen.h @@ -11,10 +11,7 @@ namespace Input { class Touchscreen: public Device, public sigc::trackable { private: - enum - { - UNUSED = static_cast(-1) - }; + static constexpr unsigned UNUSED = static_cast(-1); Graphics::Window &window; std::vector active_points;