Просмотр исходного кода

doc: updated section for on_update/on_replace (close #452)

Michele Caini 6 лет назад
Родитель
Сommit
9e8f2c52a0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/entt/entity/registry.hpp

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

@@ -1138,10 +1138,10 @@ public:
      * The function type for a listener is equivalent to:
      *
      * @code{.cpp}
-     * void(registry<Entity> &, Entity, Component &);
+     * void(registry<Entity> &, Entity);
      * @endcode
      *
-     * Listeners are invoked **before** the component has been updated.
+     * Listeners are invoked **after** the component has been updated.
      *
      * @sa sink
      *