summaryrefslogtreecommitdiff
path: root/src/input_common
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-17 21:08:01 -0500
committerGravatar GitHub2018-01-17 21:08:01 -0500
commit18507b09b2bae22d6a516f8368e35bf5312d7e39 (patch)
treeb1d2255ece280e31eefc288e41a3f7e4bd48eb94 /src/input_common
parentMerge pull request #82 from lioncash/catch (diff)
parentinput_common/sdl: Silence a -Wpessimizing-move warning (diff)
downloadyuzu-18507b09b2bae22d6a516f8368e35bf5312d7e39.tar.gz
yuzu-18507b09b2bae22d6a516f8368e35bf5312d7e39.tar.xz
yuzu-18507b09b2bae22d6a516f8368e35bf5312d7e39.zip
Merge pull request #83 from lioncash/pessimizing-move
input_common/sdl: Silence a -Wpessimizing-move warning
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/sdl/sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl.cpp b/src/input_common/sdl/sdl.cpp
index 88b557c5d..3b87d6b65 100644
--- a/src/input_common/sdl/sdl.cpp
+++ b/src/input_common/sdl/sdl.cpp
@@ -425,7 +425,7 @@ std::vector<std::unique_ptr<InputCommon::Polling::DevicePoller>> GetPollers(
425 pollers.push_back(std::make_unique<SDLButtonPoller>()); 425 pollers.push_back(std::make_unique<SDLButtonPoller>());
426 break; 426 break;
427 } 427 }
428 return std::move(pollers); 428 return pollers;
429} 429}
430} // namespace Polling 430} // namespace Polling
431} // namespace SDL 431} // namespace SDL