Răsfoiți Sursa

observer: deprecated, use reactive mixin instead

Michele Caini 1 an în urmă
părinte
comite
84308361ae
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/entt/entity/observer.hpp

+ 1 - 1
src/entt/entity/observer.hpp

@@ -66,7 +66,7 @@ struct basic_collector<> {
  * @tparam Other Other matchers.
  */
 template<typename... Reject, typename... Require, typename... Rule, typename... Other>
-struct basic_collector<matcher<type_list<Reject...>, type_list<Require...>, Rule...>, Other...> {
+struct [[deprecated("use reactive mixin instead")]] basic_collector<matcher<type_list<Reject...>, type_list<Require...>, Rule...>, Other...> {
     /*! @brief Current matcher. */
     using current_type = matcher<type_list<Reject...>, type_list<Require...>, Rule...>;