1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-29 02:57:00 -06:00

input_common: Fix build with sdl disabled

This commit is contained in:
german77 2021-07-10 09:58:35 -05:00
parent 7dca756f30
commit 289f59dabd

View File

@ -294,8 +294,8 @@ void InputSubsystem::ReloadInputDevices() {
impl->udp->ReloadSockets();
}
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers(
Polling::DeviceType type) const {
std::vector<std::unique_ptr<Polling::DevicePoller>> InputSubsystem::GetPollers([
[maybe_unused]] Polling::DeviceType type) const {
#ifdef HAVE_SDL2
return impl->sdl->GetPollers(type);
#else