1
0
Fork 0
forked from suyu/suyu

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