mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Rename cylinder to track throughout (mostly).
This commit is contained in:
		| @@ -62,12 +62,12 @@ public: | ||||
|     } | ||||
|  | ||||
| public: | ||||
|     std::unique_ptr<FluxSourceIterator> readFlux(int cylinder, int head) override | ||||
|     std::unique_ptr<FluxSourceIterator> readFlux(int track, int head) override | ||||
|     { | ||||
|         for (const auto& track : _proto.track()) | ||||
|         for (const auto& trackFlux : _proto.track()) | ||||
|         { | ||||
|             if ((track.cylinder() == cylinder) && (track.head() == head)) | ||||
| 				return std::make_unique<Fl2FluxSourceIterator>(track); | ||||
|             if ((trackFlux.track() == track) && (trackFlux.head() == head)) | ||||
| 				return std::make_unique<Fl2FluxSourceIterator>(trackFlux); | ||||
|         } | ||||
|  | ||||
|         return std::make_unique<EmptyFluxSourceIterator>(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user