Skip to content

Fix 'obj[type]' const char*#20

Open
ig0rb wants to merge 1 commit intoGerLech:masterfrom
ig0rb:ibt1
Open

Fix 'obj[type]' const char*#20
ig0rb wants to merge 1 commit intoGerLech:masterfrom
ig0rb:ibt1

Conversation

@ig0rb
Copy link

@ig0rb ig0rb commented Jan 26, 2023

it was declared char and not const char...

Error I had..
.pio/libdeps/esp01/WebConfig/src/WebConfig.cpp:148:38: required from here
.pio/libdeps/esp01/ArduinoJson/src/ArduinoJson/Variant/VariantRefBase.hpp:95:7: error: no type named 'type' in 'struct ArduinoJson6200_F1::enable_if<false, bool>'
.pio/libdeps/esp01/ArduinoJson/src/ArduinoJson/Variant/VariantRefBase.hpp:106:3: note: candidate: 'template typename ArduinoJson6200_F1::enable_if<(((! ArduinoJson6200_F1::ConverterNeedsWriteableRef::value) && (! ArduinoJson6200_F1::is_same<T, char*>::value)) && (! ArduinoJson6200_F1::is_same<T, char>::value)), bool>::type ArduinoJson6200_F1::VariantRefBase::is() const [with T = T; TDerived = ArduinoJson6200_F1::MemberProxy<ArduinoJson6200_F1::JsonObject, const char*>]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant