mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Minor change
This commit is contained in:
		| @@ -29,11 +29,6 @@ namespace ArduinoJson | |||||||
|                 items[itemCount++].set(value); |                 items[itemCount++].set(value); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             void add(double value) |  | ||||||
|             { |  | ||||||
|                 add<2>(value); |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|             template<int DIGITS> |             template<int DIGITS> | ||||||
|             void add(double value) |             void add(double value) | ||||||
|             { |             { | ||||||
|   | |||||||
| @@ -42,11 +42,6 @@ namespace ArduinoJson | |||||||
|                 itemCount++; |                 itemCount++; | ||||||
|             } |             } | ||||||
|  |  | ||||||
|             void add(const char* key, double value) |  | ||||||
|             { |  | ||||||
|                 add<2>(key, value); |  | ||||||
|             } |  | ||||||
|  |  | ||||||
|             using JsonObjectBase::printTo; |             using JsonObjectBase::printTo; | ||||||
|  |  | ||||||
|         private: |         private: | ||||||
|   | |||||||
| @@ -47,6 +47,11 @@ namespace ArduinoJson | |||||||
|                 content.asString.set(value); |                 content.asString.set(value); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|  |             void set(double value) | ||||||
|  |             { | ||||||
|  |                 set<2>(value); | ||||||
|  |             } | ||||||
|  |  | ||||||
|             template<int DIGITS> |             template<int DIGITS> | ||||||
|             void set(double value) |             void set(double value) | ||||||
|             { |             { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user