Browse Source

fixed doc

Michele Caini 8 years ago
parent
commit
62bd742673
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/entt/entity/registry.hpp
  2. 2 2
      src/entt/entity/sparse_set.hpp

+ 2 - 2
src/entt/entity/registry.hpp

@@ -238,7 +238,7 @@ public:
      * allocated, otherwise the method does nothing.
      *
      * @tparam Component Type of component for which to reserve storage.
-     * @tparam cap Desired capacity.
+     * @param cap Desired capacity.
      */
     template<typename Component>
     void reserve(size_type cap) {
@@ -251,7 +251,7 @@ public:
      * If the new capacity is greater than the current capacity, new storage is
      * allocated, otherwise the method does nothing.
      *
-     * @tparam cap Desired capacity.
+     * @param cap Desired capacity.
      */
     void reserve(size_type cap) {
         entities.reserve(cap);

+ 2 - 2
src/entt/entity/sparse_set.hpp

@@ -123,7 +123,7 @@ public:
      * If the new capacity is greater than the current capacity, new storage is
      * allocated, otherwise the method does nothing.
      *
-     * @tparam cap Desired capacity.
+     * @param cap Desired capacity.
      */
     void reserve(size_type cap) {
         reverse.reserve(cap);
@@ -421,7 +421,7 @@ public:
      * If the new capacity is greater than the current capacity, new storage is
      * allocated, otherwise the method does nothing.
      *
-     * @tparam cap Desired capacity.
+     * @param cap Desired capacity.
      */
     void reserve(size_type cap) {
         underlying_type::reserve(cap);