Sfoglia il codice sorgente

registry: deprecated ::reserve_pools

Michele Caini 4 anni fa
parent
commit
59a27fb652
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/entt/entity/registry.hpp

+ 1 - 0
src/entt/entity/registry.hpp

@@ -268,6 +268,7 @@ public:
      * @brief Reserves enough space to store `count` pools.
      * @brief Reserves enough space to store `count` pools.
      * @param count Number of pools to reserve space for.
      * @param count Number of pools to reserve space for.
      */
      */
+    [[deprecated("No longer supported")]]
     void reserve_pools(const size_t count) {
     void reserve_pools(const size_t count) {
         pools.reserve(count);
         pools.reserve(count);
     }
     }