mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Properly guard CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER definition
This commit is contained in:
		| @@ -33,7 +33,9 @@ | |||||||
| #  if defined(CATCH_CONFIG_DISABLE_MATCHERS) | #  if defined(CATCH_CONFIG_DISABLE_MATCHERS) | ||||||
| #    undef CATCH_CONFIG_DISABLE_MATCHERS | #    undef CATCH_CONFIG_DISABLE_MATCHERS | ||||||
| #  endif | #  endif | ||||||
| #  define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER | #  if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) | ||||||
|  | #    define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER | ||||||
|  | #  endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if !defined(CATCH_CONFIG_IMPL_ONLY) | #if !defined(CATCH_CONFIG_IMPL_ONLY) | ||||||
|   | |||||||
| @@ -231,8 +231,8 @@ std::string StringMaker<double>::convert(double value) { | |||||||
|  |  | ||||||
| std::string ratio_string<std::atto>::symbol() { return "a"; } | std::string ratio_string<std::atto>::symbol() { return "a"; } | ||||||
| std::string ratio_string<std::femto>::symbol() { return "f"; } | std::string ratio_string<std::femto>::symbol() { return "f"; } | ||||||
| std::string  ratio_string<std::pico>::symbol() { return "p"; } | std::string ratio_string<std::pico>::symbol() { return "p"; } | ||||||
| std::string  ratio_string<std::nano>::symbol() { return "n"; } | std::string ratio_string<std::nano>::symbol() { return "n"; } | ||||||
| std::string ratio_string<std::micro>::symbol() { return "u"; } | std::string ratio_string<std::micro>::symbol() { return "u"; } | ||||||
| std::string ratio_string<std::milli>::symbol() { return "m"; } | std::string ratio_string<std::milli>::symbol() { return "m"; } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský