summaryrefslogtreecommitdiffhomepage
path: root/proto-vjoystick
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
commit90940a774eab876c38d5cef981b4be5bae67a462 (patch)
tree2e60edc1719ffd53752a55a7f0444166965e90c5 /proto-vjoystick
parente3292e1ddaa8d69eb320d2700fc582b4675cf8ce (diff)
modernize only
Diffstat (limited to 'proto-vjoystick')
-rw-r--r--proto-vjoystick/vjoystick.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/proto-vjoystick/vjoystick.cpp b/proto-vjoystick/vjoystick.cpp
index a55f8ca4..bb0f0f51 100644
--- a/proto-vjoystick/vjoystick.cpp
+++ b/proto-vjoystick/vjoystick.cpp
@@ -101,13 +101,8 @@ LONG handle::to_axis_value(unsigned axis_id, double val)
return LONG(clamp((val+minmax) * max / (2*minmax) - min, min, max));
}
-vjoystick_proto::vjoystick_proto()
-{
-}
-
-vjoystick_proto::~vjoystick_proto()
-{
-}
+vjoystick_proto::vjoystick_proto() = default;
+vjoystick_proto::~vjoystick_proto() = default;
module_status vjoystick_proto::initialize()
{