diff options
author | german77 <juangerman-13@hotmail.com> | 2021-07-10 09:58:35 -0500 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-07-10 20:02:02 -0500 |
commit | 289f59dabda6b9a85816f7a3075daa472abd1860 (patch) | |
tree | a55316e19b310630a56cd07af9895e7778f833d9 /src/input_common | |
parent | 7dca756f30242c6af5849856375129c561584049 (diff) |
input_common: Fix build with sdl disabled
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 7399c3648..8de3d4520 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -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 |