From 874826b6ddef20f190013f24021d20e0338d5593 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 18 Mar 2019 11:26:13 -0400 Subject: input_common/sdl: Use a type alias to shorten declaration of GetPollers Just makes the definitions a little bit more tidy. --- src/input_common/sdl/sdl_impl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/input_common/sdl/sdl_impl.cpp') diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp index 6e8376549..f44a4a332 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp @@ -650,9 +650,8 @@ private: }; } // namespace Polling -std::vector> SDLState::GetPollers( - InputCommon::Polling::DeviceType type) { - std::vector> pollers; +SDLState::Pollers SDLState::GetPollers(InputCommon::Polling::DeviceType type) { + Pollers pollers; switch (type) { case InputCommon::Polling::DeviceType::Analog: pollers.emplace_back(std::make_unique(*this)); -- cgit v1.2.3