mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	refactor : switch to emplace_back to avoid extra object (#5291)
This commit is contained in:
		| @@ -105,7 +105,7 @@ int main() | ||||
|  | ||||
|     for (auto rule : expected_rules) | ||||
|     { | ||||
|         parsed_grammar.rules.push_back({}); | ||||
|         parsed_grammar.rules.emplace_back(); | ||||
|         for (auto element : rule) | ||||
|         { | ||||
|             parsed_grammar.rules.back().push_back(element); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Klimenko
					Michael Klimenko