diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-05 15:13:24 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-05 18:22:55 +0100 |
commit | 9351d9afcbaae0bdc8aa26f7361be1f84cac7467 (patch) | |
tree | d45357017f5e501a35acf9647ec8b99c5b8bfbc0 /lib/events | |
parent | 3986de7f8f1c98f952911c2f93891ea8643df62c (diff) | |
download | libquotient-9351d9afcbaae0bdc8aa26f7361be1f84cac7467.tar.gz libquotient-9351d9afcbaae0bdc8aa26f7361be1f84cac7467.zip |
DEFINE_EVENT_TYPEID: fix up deprecation warnings
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/event.h b/lib/events/event.h index f12e525e..858972da 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -264,9 +264,9 @@ using Events = EventsArray<Event>; // provide matrixTypeId() and typeId(). #define DEFINE_EVENT_TYPEID(Id_, Type_) \ static constexpr event_type_t TypeId = Id_##_ls; \ - [[deprecated("Use _Type::TypeId directly instead")]] \ + [[deprecated("Use " #Type_ "::TypeId directly instead")]] \ static constexpr event_mtype_t matrixTypeId() { return Id_; } \ - [[deprecated("Use _Type::TypeId directly instead")]] \ + [[deprecated("Use " #Type_ "::TypeId directly instead")]] \ static event_type_t typeId() { return TypeId; } \ // End of macro |