mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-04 13:31:26 +00:00
Adds a const.
This commit is contained in:
parent
4a1fa8fc13
commit
aa52652027
@ -772,7 +772,7 @@ void WD1770::update_status(std::function<void(Status &)> updater) {
|
||||
if(delegate_) {
|
||||
Status old_status = status_;
|
||||
updater(status_);
|
||||
bool did_change =
|
||||
const bool did_change =
|
||||
(status_.busy != old_status.busy) ||
|
||||
(status_.data_request != old_status.data_request) ||
|
||||
(status_.interrupt_request != old_status.interrupt_request);
|
||||
|
Loading…
x
Reference in New Issue
Block a user