aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jobs/passwordlogin.h2
-rw-r--r--user.cpp2
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
diff --git a/user.cpp b/user.cpp
index 17714bee..f2a3a33b 100644
--- a/user.cpp
+++ b/user.cpp
@@ -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;