From f5d2a1e8bdb334a0354689a8da471b7f7525e61f Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Mon, 22 Jun 2020 10:40:27 -0400 Subject: Update src/input_common/main.cpp Co-authored-by: LC update libusb submodule (hopefully windows build error fixed) --- src/input_common/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_common') 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 gcbuttons; static std::shared_ptr gcanalog; void Init() { - std::shared_ptr gcadapter = std::make_shared(); + auto gcadapter = std::make_shared(); gcbuttons = std::make_shared(gcadapter); Input::RegisterFactory("gcpad", gcbuttons); gcanalog = std::make_shared(gcadapter); -- cgit v1.2.3