flatbuffers.h: fix documentation warning (#5607)
authorEven Rouault <even.rouault@spatialys.com>
Mon, 4 Nov 2019 22:28:33 +0000 (23:28 +0100)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 4 Nov 2019 22:28:33 +0000 (14:28 -0800)
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
```

include/flatbuffers/flatbuffers.h

index fcf1f27..250db7c 100644 (file)
@@ -1759,7 +1759,7 @@ class FlatBufferBuilder {
   /// `vector`.
   /// @tparam T The data type of the `std::vector` struct elements.
   /// @tparam S The data type of the `std::vector` native struct elements.
-  /// @param[in]] v A const reference to the `std::vector` of structs to
+  /// @param[in] v A const reference to the `std::vector` of structs to
   /// serialize into the buffer as a `vector`.
   /// @return Returns a typed `Offset` into the serialized data indicating
   /// where the vector is stored.