mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fixed error IsBaseOf is not a member of ArduinoJson::TypeTraits (issue #495)
				
					
				
			This commit is contained in:
		| @@ -1,6 +1,11 @@ | |||||||
| ArduinoJson: change log | ArduinoJson: change log | ||||||
| ======================= | ======================= | ||||||
|  |  | ||||||
|  | HEAD | ||||||
|  | ---- | ||||||
|  |  | ||||||
|  | * Fixed error `IsBaseOf is not a member of ArduinoJson::TypeTraits` (issue #495) | ||||||
|  |  | ||||||
| v5.9.0 | v5.9.0 | ||||||
| ------ | ------ | ||||||
|  |  | ||||||
|   | |||||||
| @@ -40,5 +40,14 @@ process() | |||||||
| cd $(dirname $0)/../ | cd $(dirname $0)/../ | ||||||
| INCLUDED=() | INCLUDED=() | ||||||
| process src/ArduinoJson.h true > ../ArduinoJson-$TAG.h | process src/ArduinoJson.h true > ../ArduinoJson-$TAG.h | ||||||
|  | g++ -x c++ -c -o ../smoketest.o - <<END | ||||||
|  | #include "../ArduinoJson-$TAG.h" | ||||||
|  | int main() {} | ||||||
|  | END | ||||||
|  |  | ||||||
| INCLUDED=() | INCLUDED=() | ||||||
| process src/ArduinoJson.hpp true > ../ArduinoJson-$TAG.hpp | process src/ArduinoJson.hpp true > ../ArduinoJson-$TAG.hpp | ||||||
|  | g++ -x c++ -c -o ../smoketest.o - <<END | ||||||
|  | #include "../ArduinoJson-$TAG.hpp" | ||||||
|  | int main() {} | ||||||
|  | END | ||||||
| @@ -11,10 +11,6 @@ | |||||||
|  |  | ||||||
| #include <Stream.h> | #include <Stream.h> | ||||||
|  |  | ||||||
| #include "../TypeTraits/EnableIf.hpp" |  | ||||||
| #include "../TypeTraits/IsBaseOf.hpp" |  | ||||||
| #include "../TypeTraits/RemoveReference.hpp" |  | ||||||
|  |  | ||||||
| namespace ArduinoJson { | namespace ArduinoJson { | ||||||
| namespace Internals { | namespace Internals { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -7,9 +7,6 @@ | |||||||
|  |  | ||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include "../TypeTraits/EnableIf.hpp" |  | ||||||
| #include "../TypeTraits/IsChar.hpp" |  | ||||||
|  |  | ||||||
| namespace ArduinoJson { | namespace ArduinoJson { | ||||||
| namespace Internals { | namespace Internals { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -10,9 +10,6 @@ | |||||||
| #if ARDUINOJSON_ENABLE_STD_STREAM | #if ARDUINOJSON_ENABLE_STD_STREAM | ||||||
|  |  | ||||||
| #include <istream> | #include <istream> | ||||||
| #include "../TypeTraits/EnableIf.hpp" |  | ||||||
| #include "../TypeTraits/IsBaseOf.hpp" |  | ||||||
| #include "../TypeTraits/RemoveReference.hpp" |  | ||||||
|  |  | ||||||
| namespace ArduinoJson { | namespace ArduinoJson { | ||||||
| namespace Internals { | namespace Internals { | ||||||
|   | |||||||
| @@ -8,6 +8,10 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include "../Configuration.hpp" | #include "../Configuration.hpp" | ||||||
|  | #include "../TypeTraits/EnableIf.hpp" | ||||||
|  | #include "../TypeTraits/IsBaseOf.hpp" | ||||||
|  | #include "../TypeTraits/IsChar.hpp" | ||||||
|  | #include "../TypeTraits/RemoveReference.hpp" | ||||||
|  |  | ||||||
| namespace ArduinoJson { | namespace ArduinoJson { | ||||||
| namespace Internals { | namespace Internals { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user