diff options
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/event.h b/lib/events/event.h index 91bdc632..cbfa06ac 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -33,7 +33,7 @@ namespace QMatrixClient } template <typename TargetEventT, typename EventT> - inline TargetEventT* weakPtr(const event_ptr_tt<EventT>& ptr) + inline TargetEventT* weakPtrCast(const event_ptr_tt<EventT>& ptr) { return static_cast<TargetEventT*>(rawPtr(ptr)); } |