mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Renamed DEPRECATED to ARDUINOJSON_DEPRECATED
This commit is contained in:
		| @@ -2,17 +2,11 @@ | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
|  | ||||
| #define ARDUINOJSON_DEPRECATED(msg)  // nothing | ||||
|  | ||||
| #include <ArduinoJson.h> | ||||
| #include <catch.hpp> | ||||
|  | ||||
| #if defined(__GNUC__) | ||||
| #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | ||||
| #endif | ||||
|  | ||||
| #ifdef _MSC_VER | ||||
| #pragma warning(disable : 4996)  // deprecation warning | ||||
| #endif | ||||
|  | ||||
| TEST_CASE("Deprecated features") { | ||||
|   StaticJsonDocument<256> doc; | ||||
|   const char* s = "hello"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user