mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2026-04-28 18:13:28 +02:00
Implement VariantRefBase with a CRTP
This commit is contained in:
@@ -5,9 +5,8 @@
|
||||
#include <ArduinoJson.h>
|
||||
#include <catch.hpp>
|
||||
|
||||
using namespace ARDUINOJSON_NAMESPACE;
|
||||
|
||||
typedef VariantProxy<MemberDataSource<JsonDocument&, const char*> > MemberProxy;
|
||||
typedef ARDUINOJSON_NAMESPACE::MemberProxy<JsonDocument&, const char*>
|
||||
MemberProxy;
|
||||
|
||||
TEST_CASE("MemberProxy::add()") {
|
||||
DynamicJsonDocument doc(4096);
|
||||
|
||||
Reference in New Issue
Block a user