1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-11-01 11:16:16 +00:00

Improve constness, remove unnecessary virtuals.

This commit is contained in:
Thomas Harte
2025-02-24 18:18:12 -05:00
parent 43353ce892
commit 8dcccf11bf
49 changed files with 276 additions and 226 deletions

View File

@@ -66,6 +66,10 @@ void Drive::set_disk(const std::shared_ptr<Disk> &disk) {
update_clocking_observer();
}
const Disk *Drive::disk() const {
return disk_.get();
}
bool Drive::has_disk() const {
return has_disk_;
}