Remove the trivial collectSectors() methods which have been replaced by the

base class.
This commit is contained in:
David Given
2022-09-12 23:55:52 +02:00
parent 1267191e8e
commit b48e1ba9e0
6 changed files with 0 additions and 116 deletions

View File

@@ -171,24 +171,6 @@ public:
{}
public:
std::vector<std::shared_ptr<const Sector>> collectSectors(const Location& location, const Image& image) override
{
std::vector<std::shared_ptr<const Sector>> sectors;
if (location.head == 0)
{
unsigned numSectors = sectorsForC64Track(location.logicalTrack);
for (int sectorId=0; sectorId<numSectors; sectorId++)
{
const auto& sector = image.get(location.logicalTrack, 0, sectorId);
if (sector)
sectors.push_back(sector);
}
}
return sectors;
}
std::unique_ptr<Fluxmap> encode(const Location& location,
const std::vector<std::shared_ptr<const Sector>>& sectors, const Image& image) override
{