Skip to content

Commit

Permalink
fix @param doxygen annotation in containers' docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszstolarczuk committed Oct 19, 2021
1 parent 3cc48e1 commit 89f0601
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/libpmemobj++/container/segment_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2553,8 +2553,8 @@ segment_vector<T, Policy>::construct_range(size_type idx, InputIt first,
* gap for count elements starting at index idx. If there is not enough
* space available, reallocation occurs.
*
* param[in] idx index number where gap should be made.
* param[in] count length (expressed in number of elements) of the gap.
* @param[in] idx index number where gap should be made.
* @param[in] count length (expressed in number of elements) of the gap.
*
* @pre must be called in transaction scope.
*
Expand Down
8 changes: 4 additions & 4 deletions include/libpmemobj++/container/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2269,9 +2269,9 @@ vector<T>::construct_or_assign(size_type idx, InputIt first, InputIt last)
* reallocation occurs with new recommended size. Range specified by first, last
* is then inserted into the gap.
*
* param[in] idx index number where insert should be made
* param[in] first iterator to beginning of the range to insert
* param[in] last iterator to end of the range to insert
* @param[in] idx index number where insert should be made
* @param[in] first iterator to beginning of the range to insert
* @param[in] last iterator to end of the range to insert
*
* @pre must be called in transaction scope.
*
Expand Down Expand Up @@ -2355,7 +2355,7 @@ vector<T>::internal_insert(size_type idx, InputIt first, InputIt last)
* container is reduced to its first capacity_new elements. If was never
* allocated behaves as an alloc call.
*
* param[in] capacity_new new capacity.
* @param[in] capacity_new new capacity.
*
* @pre must be called in transaction scope.
*
Expand Down

0 comments on commit 89f0601

Please sign in to comment.