commit | e32ee4717c3503875594dc6415dbbbba89245bce | [log] [tgz] |
---|---|---|
author | YantaoZhao <zhytsh15@126.com> | Tue Jul 03 21:29:18 2018 +0800 |
committer | YantaoZhao <zhytsh15@126.com> | Tue Jul 03 21:29:18 2018 +0800 |
tree | 82c7b41e6aa07b1ddc1ec02c1660791fbc7c251d | |
parent | 80bc776bae74261742b7c2d0b8dc31ec1718ba4a [diff] [blame] |
allow nullptr when not care the removed array value
diff --git a/include/json/value.h b/include/json/value.h index 8a0054c..e7a9225 100644 --- a/include/json/value.h +++ b/include/json/value.h
@@ -562,7 +562,7 @@ /** \brief Remove the indexed array element. O(n) expensive operations. - Update 'removed' if removed. + Update 'removed' iff removed. \return true if removed (no exceptions) */ bool removeIndex(ArrayIndex index, Value* removed);