projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use auto where the type is clear from context
[quassel.git]
/
src
/
core
/
sslserver.cpp
diff --git
a/src/core/sslserver.cpp
b/src/core/sslserver.cpp
index
1d5a103
..
b8c010f
100644
(file)
--- a/
src/core/sslserver.cpp
+++ b/
src/core/sslserver.cpp
@@
-73,7
+73,7
@@
QTcpSocket *SslServer::nextPendingConnection()
void SslServer::incomingConnection(qintptr socketDescriptor)
{
void SslServer::incomingConnection(qintptr socketDescriptor)
{
-
QSslSocket
*serverSocket = new QSslSocket(this);
+
auto
*serverSocket = new QSslSocket(this);
if (serverSocket->setSocketDescriptor(socketDescriptor)) {
if (isCertValid()) {
serverSocket->setLocalCertificate(_cert);
if (serverSocket->setSocketDescriptor(socketDescriptor)) {
if (isCertValid()) {
serverSocket->setLocalCertificate(_cert);