mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Split the Layout class.
This commit is contained in:
		| @@ -61,7 +61,7 @@ std::unique_ptr<Decoder> Decoder::create(const DecoderProto& config) | ||||
| } | ||||
|  | ||||
| std::shared_ptr<TrackDataFlux> Decoder::decodeToSectors( | ||||
|     std::shared_ptr<const Fluxmap> fluxmap, std::shared_ptr<const Layout>& layout) | ||||
|     std::shared_ptr<const Fluxmap> fluxmap, std::shared_ptr<const Track>& layout) | ||||
| { | ||||
|     _trackdata = std::make_shared<TrackDataFlux>(); | ||||
|     _trackdata->fluxmap = fluxmap; | ||||
| @@ -222,7 +222,7 @@ uint64_t Decoder::readRaw64() | ||||
| } | ||||
|  | ||||
| std::set<LogicalLocation> Decoder::requiredSectors( | ||||
|     std::shared_ptr<const Layout>& layout) const | ||||
|     std::shared_ptr<const Track>& layout) const | ||||
| { | ||||
|     const auto trackLayout = | ||||
|         Layout::getLayoutOfTrackPhysical(layout->physicalTrack, layout->physicalSide); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user