diff options
| author | bunnei <bunneidev@gmail.com> | 2018-01-17 21:08:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-17 21:08:01 -0500 |
| commit | fc7efb9fb3cdc8f58f4fc36e97049a22a5753c98 (patch) | |
| tree | b1d2255ece280e31eefc288e41a3f7e4bd48eb94 /src/input_common/sdl | |
| parent | 0fdfb8700edac71695c74f043821d1f2c37fc252 (diff) | |
| parent | 651b5153dce0451f30528a5d48c5252d9db0730c (diff) | |
Merge pull request #83 from lioncash/pessimizing-move
input_common/sdl: Silence a -Wpessimizing-move warning
Diffstat (limited to 'src/input_common/sdl')
| -rw-r--r-- | src/input_common/sdl/sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl.cpp b/src/input_common/sdl/sdl.cpp index 88b557c5dc..3b87d6b652 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( pollers.push_back(std::make_unique<SDLButtonPoller>()); break; } - return std::move(pollers); + return pollers; } } // namespace Polling } // namespace SDL |
