From 8f724708acd5009e399b2f337a3265b8c08c6a4c Mon Sep 17 00:00:00 2001 From: thrust26 Date: Mon, 21 Dec 2020 17:37:10 +0100 Subject: [PATCH] removed default, just to be sure --- src/common/PJoystickHandler.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/PJoystickHandler.hxx b/src/common/PJoystickHandler.hxx index 444ef1a6a..0d683e9aa 100644 --- a/src/common/PJoystickHandler.hxx +++ b/src/common/PJoystickHandler.hxx @@ -49,8 +49,8 @@ class PhysicalJoystickHandler private: struct StickInfo { - StickInfo(const nlohmann::json& map = nullptr, PhysicalJoystickPtr stick = nullptr) - : mapping(map), joy{std::move(stick)} { } + StickInfo(const nlohmann::json map, PhysicalJoystickPtr stick = nullptr) + : mapping(map), joy{std::move(stick)} {} nlohmann::json mapping; PhysicalJoystickPtr joy;