mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Rename VariantConstRef to JsonVariantConst
				
					
				
			This commit is contained in:
		| @@ -96,11 +96,11 @@ struct Converter<Complex> { | ||||
|     dst["imag"] = src.imag(); | ||||
|   } | ||||
|  | ||||
|   static Complex fromJson(VariantConstRef src) { | ||||
|   static Complex fromJson(JsonVariantConst src) { | ||||
|     return Complex(src["real"], src["imag"]); | ||||
|   } | ||||
|  | ||||
|   static bool checkJson(VariantConstRef src) { | ||||
|   static bool checkJson(JsonVariantConst src) { | ||||
|     return src["real"].is<double>() && src["imag"].is<double>(); | ||||
|   } | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user