Fixed compilation with Arduino 1.0.6 (issue #99)

This commit is contained in:
Benoit Blanchon
2015-08-24 15:20:40 +02:00
parent 0a1c27f873
commit a003a31952
3 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
ArduinoJson: change log ArduinoJson: change log
======================= =======================
v5.0.1
------
* Fixed compilation with Arduino 1.0.6 (issue #99)
v5.0.0 v5.0.0
------ ------

View File

@ -14,7 +14,7 @@ class JsonArraySubscript : public JsonSubscriptBase<JsonArraySubscript> {
FORCE_INLINE JsonArraySubscript(JsonArray& array, size_t index) FORCE_INLINE JsonArraySubscript(JsonArray& array, size_t index)
: _array(array), _index(index) {} : _array(array), _index(index) {}
using JsonSubscriptBase::operator=; using JsonSubscriptBase<JsonArraySubscript>::operator=;
FORCE_INLINE bool success() const { return _index < _array.size(); } FORCE_INLINE bool success() const { return _index < _array.size(); }

View File

@ -1,5 +1,5 @@
name=ArduinoJson name=ArduinoJson
version=5.0.0 version=5.0.1
author=Benoit Blanchon <blog.benoitblanchon.fr> author=Benoit Blanchon <blog.benoitblanchon.fr>
maintainer=Benoit Blanchon <blog.benoitblanchon.fr> maintainer=Benoit Blanchon <blog.benoitblanchon.fr>
sentence=An efficient and elegant JSON library for Arduino. sentence=An efficient and elegant JSON library for Arduino.