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