mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-10-14 16:45:59 -05:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user