diff options
Diffstat (limited to '')
m--------- | externals/libusb | 0 | ||||
-rw-r--r-- | src/input_common/main.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/externals/libusb b/externals/libusb -Subproject c5085fc4eb1a83e6a8921a43b8d77f162b9e3b4 +Subproject 71c3083fdd07a5a8c30a469800563bfbd9f9d4a diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 827a1a30c..a9572c23c 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -29,7 +29,7 @@ static std::shared_ptr<GCButtonFactory> gcbuttons; static std::shared_ptr<GCAnalogFactory> gcanalog; void Init() { - std::shared_ptr<GCAdapter::Adapter> gcadapter = std::make_shared<GCAdapter::Adapter>(); + auto gcadapter = std::make_shared<GCAdapter::Adapter>(); gcbuttons = std::make_shared<GCButtonFactory>(gcadapter); Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons); gcanalog = std::make_shared<GCAnalogFactory>(gcadapter); |