mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-25 11:17:26 +00:00
All these 'override's can be 'final's.
At least for the purpose of being communicative. I doubt there's much to gain in terms of compiler output — the DiskImageHolder can avoid some virtual lookups but nothing else leaps out.
This commit is contained in:
@@ -118,11 +118,11 @@ class Controller:
|
||||
std::shared_ptr<Drive> empty_drive_;
|
||||
|
||||
// ClockingHint::Observer.
|
||||
void set_component_prefers_clocking(ClockingHint::Source *component, ClockingHint::Preference clocking) override;
|
||||
void set_component_prefers_clocking(ClockingHint::Source *component, ClockingHint::Preference clocking) final;
|
||||
|
||||
// for Drive::EventDelegate
|
||||
void process_event(const Drive::Event &event) override;
|
||||
void advance(const Cycles cycles) override ;
|
||||
void process_event(const Drive::Event &event) final;
|
||||
void advance(const Cycles cycles) final;
|
||||
|
||||
// to satisfy DigitalPhaseLockedLoop::Delegate
|
||||
void digital_phase_locked_loop_output_bit(int value);
|
||||
|
||||
Reference in New Issue
Block a user