1
0
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:
Thomas Harte
2020-01-23 22:57:51 -05:00
parent ba516387ba
commit 294e09f275
62 changed files with 299 additions and 299 deletions
+3 -3
View File
@@ -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);