1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 02:22:39 +00:00

Makes additional minor const improvements.

This commit is contained in:
Thomas Harte
2020-05-12 00:31:16 -04:00
parent b62ee33318
commit f82e4ee923
2 changed files with 4 additions and 3 deletions
@@ -25,7 +25,7 @@ class MultiJoystick: public Inputs::Joystick {
}
}
std::vector<Input> &get_inputs() final {
const std::vector<Input> &get_inputs() final {
if(inputs.empty()) {
for(const auto &joystick: joysticks_) {
std::vector<Input> joystick_inputs = joystick->get_inputs();