mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Move requiredSectors() to the base class.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user