Move requiredSectors() to the base class.

This commit is contained in:
David Given
2022-09-13 00:32:04 +02:00
parent dce6248193
commit 6b7e81d7fb
10 changed files with 2 additions and 78 deletions

View File

@@ -207,14 +207,6 @@ public:
(wantCrc == gotCrc) ? Sector::OK : Sector::BAD_CHECKSUM;
}
std::set<unsigned> requiredSectors(const Location& location) const override
{
auto& trackLayout =
Layout::getLayoutOfTrack(location.logicalTrack, location.head);
return std::set<unsigned>(trackLayout.logicalSectorOrder.begin(),
trackLayout.logicalSectorOrder.end());
}
private:
void getTrackFormat(IbmDecoderProto::TrackdataProto& trackdata,
unsigned track,