diff options
-rw-r--r-- | jobs/passwordlogin.h | 2 | ||||
-rw-r--r-- | user.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/jobs/passwordlogin.h b/jobs/passwordlogin.h index 713a1821..6b7db0b3 100644 --- a/jobs/passwordlogin.h +++ b/jobs/passwordlogin.h @@ -40,4 +40,4 @@ namespace QMatrixClient class Private; Private* d; }; -} +} // namespace QMatrixClient @@ -133,7 +133,7 @@ void User::processEvent(Event* event) { if( event->type() == EventType::RoomMember ) { - RoomMemberEvent* e = static_cast<RoomMemberEvent*>(event); + auto e = static_cast<RoomMemberEvent*>(event); if (e->membership() == MembershipType::Leave) return; |