1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-03-11 04:42:20 +00:00

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

This commit is contained in:
Thomas Harte
2019-11-09 18:19:05 -05:00
parent 3741cba88c
commit 2c25135d8a
14 changed files with 32 additions and 17 deletions

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_;
}