...and removed the const too

This commit is contained in:
thrust26 2020-12-21 18:06:33 +01:00
parent 8655e52330
commit 1d90b3caec
1 changed files with 1 additions and 1 deletions

View File

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