projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use nullptr
[quassel.git]
/
src
/
client
/
clientauthhandler.cpp
diff --git
a/src/client/clientauthhandler.cpp
b/src/client/clientauthhandler.cpp
index
a29505f
..
a3fc870
100644
(file)
--- a/
src/client/clientauthhandler.cpp
+++ b/
src/client/clientauthhandler.cpp
@@
-411,10
+411,10
@@
void ClientAuthHandler::handle(const LoginSuccess &msg)
void ClientAuthHandler::handle(const SessionState &msg)
{
void ClientAuthHandler::handle(const SessionState &msg)
{
- disconnect(socket(),
0, this, 0
); // this is the last message we shall ever get
+ disconnect(socket(),
nullptr, this, nullptr
); // this is the last message we shall ever get
// give up ownership of the peer; CoreSession takes responsibility now
// give up ownership of the peer; CoreSession takes responsibility now
- _peer->setParent(
0
);
+ _peer->setParent(
nullptr
);
emit handshakeComplete(_peer, msg);
}
emit handshakeComplete(_peer, msg);
}