input_common/sdl: Correct return values within implementations of GetPollers()

In both cases, we weren't actually returning anything, which is
undefined behavior.
This commit is contained in:
Lioncash 2019-03-18 11:32:49 -04:00
parent 874826b6dd
commit eb335f51ca
2 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,9 @@ public:
class NullState : public State {
public:
Pollers GetPollers(Polling::DeviceType type) override {}
Pollers GetPollers(Polling::DeviceType type) override {
return {};
}
};
std::unique_ptr<State> Init();