mirror of
				https://github.com/boostorg/unordered.git
				synced 2025-10-31 07:41:36 +01:00 
			
		
		
		
	Refactor tests to disable -Wself-assign-overloaded themselves instead of in the Jamfile as not all clang versions support the warning
				
					
				
			This commit is contained in:
		| @@ -13,6 +13,12 @@ | ||||
| #pragma warning(disable : 4512) // assignment operator could not be generated | ||||
| #endif | ||||
|  | ||||
| #if defined(__clang__) && defined(__has_warning) | ||||
| #if __has_warning("-Wself-assign-overloaded") | ||||
| #pragma clang diagnostic ignored "-Wself-assign-overloaded" | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| test::seed_t initialize_seed(12847); | ||||
|  | ||||
| template <class T> struct self_assign_base : public test::exception_base | ||||
|   | ||||
		Reference in New Issue
	
	Block a user