Fixed operator|(MemberProxy, JsonObject) (fixes #1415)

This commit is contained in:
Benoit Blanchon
2020-10-23 10:22:14 +02:00
parent ff66182dc6
commit 10ec0f21b0
7 changed files with 50 additions and 8 deletions

View File

@@ -19,10 +19,13 @@ namespace ARDUINOJSON_NAMESPACE {
template <typename TArray>
class ElementProxy : public VariantOperators<ElementProxy<TArray> >,
public VariantShortcuts<ElementProxy<TArray> >,
public Visitable {
public Visitable,
public VariantTag {
typedef ElementProxy<TArray> this_type;
public:
typedef VariantRef variant_type;
FORCE_INLINE ElementProxy(TArray array, size_t index)
: _array(array), _index(index) {}