mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Missing file.
This commit is contained in:
		
							
								
								
									
										8
									
								
								Global.h
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Global.h
									
									
									
									
									
								
							| @@ -633,6 +633,14 @@ namespace vstd | ||||
| 		return v3; | ||||
| 	} | ||||
|  | ||||
| 	template <typename T> | ||||
| 	std::set<T> difference(const std::set<T> &s1, const std::set<T> s2) | ||||
| 	{ | ||||
| 		std::set<T> s3; | ||||
| 		std::set_difference(s1.begin(), s1.end(), s2.begin(), s2.end(), std::inserter(s3, s3.end())); | ||||
| 		return s3; | ||||
| 	} | ||||
|  | ||||
| 	template <typename Key, typename V> | ||||
| 	bool containsMapping(const std::multimap<Key,V> & map, const std::pair<const Key,V> & mapping) | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user