From 90940a774eab876c38d5cef981b4be5bae67a462 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Jul 2018 23:20:56 +0200 Subject: modernize only --- proto-vjoystick/vjoystick.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'proto-vjoystick/vjoystick.cpp') 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() { -- cgit v1.2.3