Merge pull request #3263 from lioncash/pessimizing-move

input_common/sdl: Silence a -Wpessimizing-move warning
This commit is contained in:
Yuri Kunde Schlesner 2017-12-10 21:18:17 -05:00 committed by GitHub
commit 660accc92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -425,7 +425,7 @@ std::vector<std::unique_ptr<InputCommon::Polling::DevicePoller>> GetPollers(
pollers.push_back(std::make_unique<SDLButtonPoller>()); pollers.push_back(std::make_unique<SDLButtonPoller>());
break; break;
} }
return std::move(pollers); return pollers;
} }
} // namespace Polling } // namespace Polling
} // namespace SDL } // namespace SDL