X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Finput%2Fdevice.h;h=e80029054548fe82c0a985bb2690b23c6773021c;hb=6222d13e2790bdaa1013444f1221841397834cdd;hp=4544776ac3a36f1f6b36d7dfe0d7a79cdaacb232;hpb=3b0d63f09b6bfc5de215e27eef8a5934eb4d3851;p=libs%2Fgui.git diff --git a/source/input/device.h b/source/input/device.h index 4544776..e800290 100644 --- a/source/input/device.h +++ b/source/input/device.h @@ -14,7 +14,6 @@ class device_not_available: public std::runtime_error { public: device_not_available(const std::string &w): std::runtime_error(w) { } - virtual ~device_not_available() throw() { } }; @@ -58,7 +57,7 @@ public: sigc::signal::accumulated signal_axis_motion; protected: - DeviceType type; + DeviceType type = UNSPECIFIED; std::string name; std::vector buttons; std::vector axes;