diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2020-06-22 16:40:27 +0200 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-06-22 23:05:50 +0200 |
commit | f5d2a1e8bdb334a0354689a8da471b7f7525e61f (patch) | |
tree | 38f135f824cbc55001966aac5f1222caee1d9b2a /src/input_common/main.cpp | |
parent | Tidy up the pointers, use pair over tuple where appropriate (diff) | |
download | yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.gz yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.bz2 yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.lz yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.xz yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.zst yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.zip |
Diffstat (limited to 'src/input_common/main.cpp')
-rw-r--r-- | src/input_common/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |