diff --git a/Storage/Disk/Encodings/MFM/Encoder.cpp b/Storage/Disk/Encodings/MFM/Encoder.cpp index cd5e6fba4..c44e453ac 100644 --- a/Storage/Disk/Encodings/MFM/Encoder.cpp +++ b/Storage/Disk/Encodings/MFM/Encoder.cpp @@ -295,7 +295,7 @@ void Encoder::add_crc(bool incorrectly) { namespace { template -std::shared_ptr TrackWithSectors( +std::shared_ptr TTrackWithSectors( const std::vector §ors, std::optional sector_gap_length, std::optional sector_gap_filler_byte @@ -317,7 +317,7 @@ std::shared_ptr TrackWithSectors( } -std::shared_ptr TrackWithSectors( +std::shared_ptr Storage::Encodings::MFM::TrackWithSectors( Density density, const std::vector §ors, std::optional sector_gap_length, @@ -331,16 +331,16 @@ std::shared_ptr TrackWithSectors( ); } -std::shared_ptr TrackWithSectors( +std::shared_ptr Storage::Encodings::MFM::TrackWithSectors( Density density, const std::vector §ors, std::optional sector_gap_length, std::optional sector_gap_filler_byte ) { switch(density) { - case Density::Single: return TrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); - case Density::Double: return TrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); - case Density::High: return TrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); + case Density::Single: return TTrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); + case Density::Double: return TTrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); + case Density::High: return TTrackWithSectors(sectors, sector_gap_length, sector_gap_filler_byte); } }