aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-01 19:44:36 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-01 19:44:36 +0900
commit28d4677f4bcb863478d3bf9f813c0ba0bf300fe8 (patch)
treee3f39c7ceb2ff3d19b90816277ffc7a10323062b /lib/events
parent46c9d422bc50c3eb4a5012962666e3bf3a0916a1 (diff)
downloadlibquotient-28d4677f4bcb863478d3bf9f813c0ba0bf300fe8.tar.gz
libquotient-28d4677f4bcb863478d3bf9f813c0ba0bf300fe8.zip
weakPtr -> weakPtrCast
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/event.h2
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));
}