observer: deprecated, use reactive mixin instead

This commit is contained in:
Michele Caini
2024-09-30 10:27:52 +02:00
parent db22dd8e69
commit 84308361ae

View File

@@ -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...>;