mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Use range iterators for Map
				
					
				
			This commit is contained in:
		
							parent
							
								
									e4dfa69bcf
								
							
						
					
					
						commit
						c63b18507d
					
				
					 154 changed files with 1897 additions and 1897 deletions
				
			
		|  | @ -99,8 +99,8 @@ void EditorExportPlatformJavaScript::_replace_strings(Map<String, String> p_repl | |||
| 	Vector<String> lines = str_template.split("\n"); | ||||
| 	for (int i = 0; i < lines.size(); i++) { | ||||
| 		String current_line = lines[i]; | ||||
| 		for (Map<String, String>::Element *E = p_replaces.front(); E; E = E->next()) { | ||||
| 			current_line = current_line.replace(E->key(), E->get()); | ||||
| 		for (const KeyValue<String, String> &E : p_replaces) { | ||||
| 			current_line = current_line.replace(E.key, E.value); | ||||
| 		} | ||||
| 		out += current_line + "\n"; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lightning_A
						Lightning_A