Fixes const correctness for joystick machines; the ST is now one such.

This commit is contained in:
Thomas Harte committed 2019-11-09 18:19:05 -05:00
1 parent 3741cba88c
commit 2c25135d8a
14 files changed
+32 -17

No files matched your search

+1 -1
View File
@@ -340,7 +340,7 @@ class ConcreteMachine:
audio_queue_.perform();
}
std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() override {
const std::vector<std::unique_ptr<Inputs::Joystick>> &get_joysticks() override {
return joysticks_;
}