mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Use const iterator
This commit is contained in:
		| @@ -121,9 +121,9 @@ Gnss_Satellite& Gnss_Satellite::operator=(const Gnss_Satellite &rhs) { | ||||
| void Gnss_Satellite::set_system(const std::string& system_) | ||||
| { | ||||
|     // Set the satellite system {"GPS", "GLONASS", "SBAS", "Galileo", "Compass"} | ||||
|     std::set<std::string>::iterator it = system_set.find(system_); | ||||
|     std::set<std::string>::const_iterator it = system_set.find(system_); | ||||
|  | ||||
|     if(it != system_set.end()) | ||||
|     if(it != system_set.cend()) | ||||
|         { | ||||
|             system = system_; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez