projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use 'using' instead of 'typedef'
[quassel.git]
/
src
/
common
/
network.h
diff --git
a/src/common/network.h
b/src/common/network.h
index
410931f
..
4fe30f1
100644
(file)
--- a/
src/common/network.h
+++ b/
src/common/network.h
@@
-143,10
+143,10
@@
public :
bool operator==(const Server &other) const;
bool operator!=(const Server &other) const;
};
bool operator==(const Server &other) const;
bool operator!=(const Server &other) const;
};
-
typedef QList<Server> ServerList
;
+
using ServerList = QList<Server>
;
- Network(const NetworkId &networkid, QObject *parent =
0
);
- ~Network();
+ Network(const NetworkId &networkid, QObject *parent =
nullptr
);
+ ~Network()
override
;
inline NetworkId networkId() const { return _networkId; }
inline NetworkId networkId() const { return _networkId; }