X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Ftouchscreen.h;h=d366a28f9f2c33c05f04369eb0601af1d34159a8;hb=27356249e3607c78f5da9823c88703a6f4f7bed1;hp=487a91c9760d66a93ea1bd6aceae51a78d1bcbed;hpb=43d31e73c4b97a37017757232c4ef1db355fee3a;p=libs%2Fgui.git 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;