Skip to content

Commit 4bbd26c

Browse files
rouaultLuckyRu
authored andcommitted
flatbuffers.h: fix documentation warning (google#5607)
Fixes following clang -Wdocumentation warning: ``` flatbuffers.h:1762:17: error: parameter ']' not found in the function declaration [-Werror,-Wdocumentation] /// @param[in]] v A const reference to the `std::vector` of structs to ```
1 parent 3aa2a02 commit 4bbd26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/flatbuffers/flatbuffers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ class FlatBufferBuilder {
17591759
/// `vector`.
17601760
/// @tparam T The data type of the `std::vector` struct elements.
17611761
/// @tparam S The data type of the `std::vector` native struct elements.
1762-
/// @param[in]] v A const reference to the `std::vector` of structs to
1762+
/// @param[in] v A const reference to the `std::vector` of structs to
17631763
/// serialize into the buffer as a `vector`.
17641764
/// @return Returns a typed `Offset` into the serialized data indicating
17651765
/// where the vector is stored.

0 commit comments

Comments
 (0)