forked from bblanchon/ArduinoJson
Fixed error expected unqualified-id
on GCC 11 (fixes #1622)
This commit is contained in:
@ -45,8 +45,7 @@ class StringAdapter< ::String> {
|
||||
template <>
|
||||
class StringAdapter< ::StringSumHelper> : public StringAdapter< ::String> {
|
||||
public:
|
||||
StringAdapter< ::StringSumHelper>(const ::String& s)
|
||||
: StringAdapter< ::String>(s) {}
|
||||
StringAdapter(const ::String& s) : StringAdapter< ::String>(s) {}
|
||||
};
|
||||
|
||||
} // namespace ARDUINOJSON_NAMESPACE
|
||||
|
@ -45,7 +45,7 @@ class StringAdapter<const char*> {
|
||||
template <int N>
|
||||
class StringAdapter<const char[N]> : public StringAdapter<const char*> {
|
||||
public:
|
||||
StringAdapter<const char[N]>(const char* s) : StringAdapter<const char*>(s) {}
|
||||
StringAdapter(const char* s) : StringAdapter<const char*>(s) {}
|
||||
};
|
||||
|
||||
} // namespace ARDUINOJSON_NAMESPACE
|
||||
|
Reference in New Issue
Block a user