mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	Merge pull request #8435
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
			
			
This commit is contained in:
		
						commit
						b6a029f222
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -64,3 +64,13 @@ namespace net_utils
 | 
			
		|||
} // net_utils
 | 
			
		||||
} // epee
 | 
			
		||||
 | 
			
		||||
namespace std
 | 
			
		||||
{
 | 
			
		||||
	template<> struct hash<epee::net_utils::zone>
 | 
			
		||||
	{
 | 
			
		||||
		std::size_t operator()(const epee::net_utils::zone _z) const
 | 
			
		||||
		{
 | 
			
		||||
			return static_cast<std::size_t>(_z);
 | 
			
		||||
		}
 | 
			
		||||
	};
 | 
			
		||||
} // std
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue