Fixed compilation error when index is not an int (issue #381)

This commit is contained in:
Benoit Blanchon
2016-11-13 20:19:36 +01:00
parent 1ce16ce449
commit f28157cab7
5 changed files with 17 additions and 10 deletions

View File

@ -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