Implement VariantRefBase with a CRTP

This commit is contained in:
Benoit Blanchon
2022-12-05 21:00:24 +01:00
parent 21db92af47
commit 0f85a55cac
15 changed files with 153 additions and 199 deletions
+1 -3
View File
@@ -5,9 +5,7 @@
#include <ArduinoJson.h>
#include <catch.hpp>
using namespace ARDUINOJSON_NAMESPACE;
typedef VariantProxy<ElementDataSource<JsonDocument&> > ElementProxy;
typedef ARDUINOJSON_NAMESPACE::ElementProxy<JsonDocument&> ElementProxy;
TEST_CASE("ElementProxy::add()") {
DynamicJsonDocument doc(4096);