mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Walk back slightly.
This commit is contained in:
parent
689bfbbdb3
commit
d9d20d9d30
@ -22,7 +22,10 @@ namespace {
|
||||
DiskII::DiskII(int clock_rate) :
|
||||
clock_rate_(clock_rate),
|
||||
inputs_(input_command),
|
||||
drives_{Storage::Disk::Drive{clock_rate, 300, 1}, Storage::Disk::Drive{clock_rate, 300, 1}}
|
||||
drives_{
|
||||
Storage::Disk::Drive{clock_rate, 300, 1},
|
||||
Storage::Disk::Drive{clock_rate, 300, 1}
|
||||
}
|
||||
{
|
||||
drives_[0].set_clocking_hint_observer(this);
|
||||
drives_[1].set_clocking_hint_observer(this);
|
||||
|
@ -37,8 +37,14 @@ class Drive: public ClockingHint::Source, public TimedEventLoop {
|
||||
Drive(int input_clock_rate, int number_of_heads, ReadyType rdy_type = ReadyType::ShugartRDY);
|
||||
virtual ~Drive();
|
||||
|
||||
// Disallow copying.
|
||||
Drive(const Drive &) = delete;
|
||||
// TODO: Disallow copying.
|
||||
//
|
||||
// GCC has an issue with the way the DiskII constructs its drive array if these are both
|
||||
// deleted, despite not using the copy constructor. Unless I'm deficient in my interpretation.
|
||||
// Clang has no such issue though, so possibly I'm not.
|
||||
//
|
||||
// Change withdrawn until I can figure out what's afoot.
|
||||
// Drive(const Drive &) = delete;
|
||||
void operator=(const Drive &) = delete;
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user