mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-01 21:01:30 +02:00
Fixed compilation error when index is not an int
(issue #381)
This commit is contained in:
@ -84,13 +84,6 @@ template <typename TString>
|
||||
inline JsonObjectSubscript<TString> JsonObject::operator[](const TString& key) {
|
||||
return JsonObjectSubscript<TString>(*this, key);
|
||||
}
|
||||
|
||||
template <typename TImplem>
|
||||
template <class TString>
|
||||
inline const JsonObjectSubscript<TString> JsonVariantBase<TImplem>::operator[](
|
||||
const TString& key) const {
|
||||
return asObject()[key];
|
||||
}
|
||||
} // namespace ArduinoJson
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
Reference in New Issue
Block a user