aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-05 15:13:24 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-05 18:22:55 +0100
commit9351d9afcbaae0bdc8aa26f7361be1f84cac7467 (patch)
treed45357017f5e501a35acf9647ec8b99c5b8bfbc0 /lib/events
parent3986de7f8f1c98f952911c2f93891ea8643df62c (diff)
downloadlibquotient-9351d9afcbaae0bdc8aa26f7361be1f84cac7467.tar.gz
libquotient-9351d9afcbaae0bdc8aa26f7361be1f84cac7467.zip
DEFINE_EVENT_TYPEID: fix up deprecation warnings
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/event.h4
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