mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Handling an Intel compiler warning for Json class
This commit is contained in:
		@@ -1348,6 +1348,7 @@ class basic_json
 | 
			
		||||
 | 
			
		||||
    @since version 1.0.0
 | 
			
		||||
    */
 | 
			
		||||
#pragma warning disable 488   //disables and intel compiler specific warning
 | 
			
		||||
    template<typename T, typename std::enable_if<
 | 
			
		||||
                 not (std::is_same<T, int>::value) and
 | 
			
		||||
                 std::is_same<T, number_integer_t>::value, int>::type = 0>
 | 
			
		||||
@@ -1357,6 +1358,7 @@ class basic_json
 | 
			
		||||
        assert_invariant();
 | 
			
		||||
    }
 | 
			
		||||
  
 | 
			
		||||
  
 | 
			
		||||
    /*!
 | 
			
		||||
    @brief create an integer number from an enum type (explicit)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user