mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Added missing #pragma once (issue #310)
				
					
				
			This commit is contained in:
		| @@ -1,6 +1,11 @@ | ||||
| ArduinoJson: change log | ||||
| ======================= | ||||
|  | ||||
| HEAD | ||||
| ---- | ||||
|  | ||||
| * Added missing `#pragma once` (issue #310) | ||||
|  | ||||
| v5.6.0 | ||||
| ------ | ||||
|  | ||||
|   | ||||
| @@ -20,6 +20,7 @@ Features | ||||
| * Portable (written in C++98) | ||||
| * Self-contained (no external dependency) | ||||
| * Small footprint | ||||
| * Header-only library | ||||
| * MIT License | ||||
|  | ||||
| Works on | ||||
|   | ||||
| @@ -5,6 +5,8 @@ | ||||
| // https://github.com/bblanchon/ArduinoJson | ||||
| // If you like this project, please add a star! | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include "ArduinoJson/DynamicJsonBuffer.hpp" | ||||
| #include "ArduinoJson/JsonArray.hpp" | ||||
| #include "ArduinoJson/JsonObject.hpp" | ||||
|   | ||||
| @@ -5,8 +5,10 @@ | ||||
| // https://github.com/bblanchon/ArduinoJson | ||||
| // If you like this project, please add a star! | ||||
|  | ||||
| #include "JsonParser.hpp" | ||||
| #pragma once | ||||
|  | ||||
| #include "Comments.hpp" | ||||
| #include "JsonParser.hpp" | ||||
|  | ||||
| inline bool ArduinoJson::Internals::JsonParser::skip(char charToSkip) { | ||||
|   const char *ptr = skipSpacesAndComments(_readPtr); | ||||
|   | ||||
| @@ -5,6 +5,8 @@ | ||||
| // https://github.com/bblanchon/ArduinoJson | ||||
| // If you like this project, please add a star! | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| #include "Internals/JsonParser.hpp" | ||||
|  | ||||
| inline ArduinoJson::JsonArray &ArduinoJson::JsonBuffer::createArray() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user