Fixed return type of JsonArray::is<T>() and some others (issue #121)

This commit is contained in:
Benoit Blanchon
2015-09-19 16:25:18 +02:00
parent 155dd653e7
commit 7cf6fe6d62
7 changed files with 19 additions and 4 deletions

View File

@ -92,7 +92,7 @@ class JsonArray : public Internals::JsonPrintable<JsonArray>,
// Check the type of the value at specified index.
template <typename T>
FORCE_INLINE T is(size_t index) const;
FORCE_INLINE bool is(size_t index) const;
// Creates a JsonArray and adds a reference at the end of the array.
// It's a shortcut for JsonBuffer::createArray() and JsonArray::add()