mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Fixed error when the key of a JsonObject is a char[] and reduced code size when using const references (issue #423)
				
					
				
			This commit is contained in:
		| @@ -49,9 +49,7 @@ class JsonArray : public Internals::JsonPrintable<JsonArray>, | ||||
|       : Internals::List<JsonVariant>(buffer) {} | ||||
|  | ||||
|   // Gets the value at the specified index | ||||
|   JsonVariant operator[](size_t index) const { | ||||
|     return get<JsonVariant>(index); | ||||
|   } | ||||
|   const JsonArraySubscript operator[](size_t index) const; | ||||
|  | ||||
|   // Gets or sets the value at specified index | ||||
|   JsonArraySubscript operator[](size_t index); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user