Skip to content

Commit

Permalink
Fix wrong usage of doxygen groups (open-source-parsers#1417)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal authored Jul 14, 2022
1 parent 42e892d commit 8190e06
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/json/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,23 +437,23 @@ class JSON_API Value {
/// \post type() is arrayValue
void resize(ArrayIndex newSize);

//@{
///@{
/// Access an array element (zero based index). If the array contains less
/// than index element, then null value are inserted in the array so that
/// its size is index+1.
/// (You may need to say 'value[0u]' to get your compiler to distinguish
/// this from the operator[] which takes a string.)
Value& operator[](ArrayIndex index);
Value& operator[](int index);
//@}
///@}

//@{
///@{
/// Access an array element (zero based index).
/// (You may need to say 'value[0u]' to get your compiler to distinguish
/// this from the operator[] which takes a string.)
const Value& operator[](ArrayIndex index) const;
const Value& operator[](int index) const;
//@}
///@}

/// If the array contains at least index+1 elements, returns the element
/// value, otherwise returns defaultValue.
Expand Down

0 comments on commit 8190e06

Please sign in to comment.