Browse Source

doc: fixed typo

Michele Caini 4 years ago
parent
commit
6867760cc4
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/entt/entity/sparse_set.hpp
  2. 2 2
      src/entt/entity/storage.hpp

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

@@ -309,7 +309,7 @@ public:
     /**
      * @brief Constructs an empty container with the given policy and allocator.
      * @param pol Type of deletion policy.
-     * @param alloc Allocator to use (possibly default-constructed).
+     * @param allocator Allocator to use (possibly default-constructed).
      */
     explicit basic_sparse_set(deletion_policy pol, const allocator_type &allocator = {})
         : reserved{allocator, 0u},
@@ -323,7 +323,7 @@ public:
 
     /**
      * @brief Constructs an empty container with the given allocator.
-     * @param alloc Allocator to use (possibly default-constructed).
+     * @param allocator Allocator to use (possibly default-constructed).
      */
     explicit basic_sparse_set(const allocator_type &allocator = {})
         : basic_sparse_set{deletion_policy::swap_and_pop, allocator}

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

@@ -326,7 +326,7 @@ public:
 
     /**
      * @brief Default constructor.
-     * @param alloc Allocator to use (possibly default-constructed).
+     * @param allocator Allocator to use (possibly default-constructed).
      */
     explicit basic_storage_impl(const allocator_type &allocator = {})
         : underlying_type{deletion_policy{comp_traits::in_place_delete::value}, allocator},
@@ -733,7 +733,7 @@ public:
 
     /**
      * @brief Default constructor.
-     * @param alloc Allocator to use (possibly default-constructed).
+     * @param allocator Allocator to use (possibly default-constructed).
      */
     explicit basic_storage_impl(const allocator_type &allocator = {})
         : underlying_type{deletion_policy{comp_traits::in_place_delete::value}, allocator}