1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-24 07:24:13 +00:00

Standardises on const [Half]Cycles as the thing called and returned, rather than const [Half]Cycles & as it's explicitly defined to be only one int in size, so using a reference is overly weighty.

This commit is contained in:
Thomas Harte
2017-07-27 22:05:29 -04:00
parent 1fb158b297
commit 4abd62e62b
47 changed files with 55 additions and 55 deletions

View File

@@ -40,7 +40,7 @@ void Controller::setup_track() {
get_next_event(offset);
}
void Controller::run_for(const Cycles &cycles) {
void Controller::run_for(const Cycles cycles) {
Time zero(0);
if(drive_ && drive_->has_disk() && motor_is_on_) {