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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user