aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-22 10:17:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-05-22 10:17:24 +0900
commit34764f3020c360ebc769cfe154e79b9e7e98f0f7 (patch)
treec32c38191057f463daa9a8fb34be8d91492e6431
parentf51d9ba6c4aa7d682eac7aae49a025721d298045 (diff)
downloadlibquotient-34764f3020c360ebc769cfe154e79b9e7e98f0f7.tar.gz
libquotient-34764f3020c360ebc769cfe154e79b9e7e98f0f7.zip
Cleanup
-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;