mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 03:52:16 +02:00
Replace ARDUINOJSON_NAMESPACE
with an inline namespace (#1820)
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
#define ARDUINOJSON_NAMESPACE ArduinoJson_NoAlignment
|
||||
#define ARDUINOJSON_VERSION_NAMESPACE NoAlignment
|
||||
#define ARDUINOJSON_ENABLE_ALIGNMENT 0
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
#include <catch.hpp>
|
||||
|
||||
TEST_CASE("ARDUINOJSON_ENABLE_ALIGNMENT == 0") {
|
||||
using namespace ARDUINOJSON_NAMESPACE;
|
||||
using namespace ArduinoJson::detail;
|
||||
|
||||
const size_t N = sizeof(void*);
|
||||
|
||||
|
Reference in New Issue
Block a user