From 90940a774eab876c38d5cef981b4be5bae67a462 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Jul 2018 23:20:56 +0200 Subject: modernize only --- tracker-joystick/ftnoir_tracker_joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-joystick') diff --git a/tracker-joystick/ftnoir_tracker_joystick.cpp b/tracker-joystick/ftnoir_tracker_joystick.cpp index 6257ee24..fce7cf04 100644 --- a/tracker-joystick/ftnoir_tracker_joystick.cpp +++ b/tracker-joystick/ftnoir_tracker_joystick.cpp @@ -11,7 +11,7 @@ joystick::joystick() { - if (static_cast(s.guid) == "") + if (s.guid->isEmpty()) { std::vector info = joy_ctx.get_joy_info(); if (!info.empty()) -- cgit v1.2.3