Prechádzať zdrojové kódy

doc: nvm, doxygen v1.13.2 emits wrong warnings here, but it gets the job done too

Michele Caini 11 mesiacov pred
rodič
commit
090ba4ba06
1 zmenil súbory, kde vykonal 1 pridanie a 10 odobranie
  1. 1 10
      src/entt/entity/storage.hpp

+ 1 - 10
src/entt/entity/storage.hpp

@@ -649,16 +649,7 @@ public:
         return element_at(base_type::index(entt));
     }
 
-    /**
-     * @brief Returns the object assigned to an entity.
-     *
-     * @warning
-     * Attempting to use an entity that doesn't belong to the storage results in
-     * undefined behavior.
-     *
-     * @param entt A valid identifier.
-     * @return The object assigned to the entity.
-     */
+    /*! @copydoc get */
     [[nodiscard]] value_type &get(const entity_type entt) noexcept {
         return const_cast<value_type &>(std::as_const(*this).get(entt));
     }