Merge pull request #83 from lioncash/pessimizing-move

input_common/sdl: Silence a -Wpessimizing-move warning
This commit is contained in:
bunnei 2018-01-17 21:08:01 -05:00 committed by GitHub
commit 18507b09b2
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>());
break;
}
return std::move(pollers);
return pollers;
}
} // namespace Polling
} // namespace SDL