fixed curly bracket initialization for json map (yields arrays!)

This commit is contained in:
Thomas Jentzsch 2022-06-04 13:40:23 +02:00
parent dff9606216
commit 496848d3a3
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class PhysicalJoystickHandler
struct StickInfo
{
explicit StickInfo(nlohmann::json map, PhysicalJoystickPtr stick = nullptr)
: mapping{std::move(map)}, joy{std::move(stick)} {}
: mapping(map), joy{std::move(stick)} {}
nlohmann::json mapping;
PhysicalJoystickPtr joy;