mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-11-02 15:41:37 +01: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