Merge pull request #6593 from german77/no_sdl

input_common: Fix build with SDL disabled
This commit is contained in:
bunnei 2021-07-12 22:11:39 -07:00 committed by GitHub
commit af79911017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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