1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-12-05 10:19:53 +00:00

Prefer references for delegate protocols.

This commit is contained in:
Thomas Harte
2025-08-30 00:09:38 -04:00
parent d177549dd6
commit d825c03372
44 changed files with 95 additions and 96 deletions

View File

@@ -196,6 +196,6 @@ void BinaryTapePlayer::process(const Storage::Tape::Pulse &pulse) {
bool new_input_level = pulse.type == Pulse::High;
if(input_level_ != new_input_level) {
input_level_ = new_input_level;
if(delegate_) delegate_->tape_did_change_input(this);
if(delegate_) delegate_->tape_did_change_input(*this);
}
}