projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't return const refs from methods
[quassel.git]
/
src
/
common
/
peer.cpp
diff --git
a/src/common/peer.cpp
b/src/common/peer.cpp
index
25ff814
..
b0eee44
100644
(file)
--- a/
src/common/peer.cpp
+++ b/
src/common/peer.cpp
@@
-33,7
+33,7
@@
AuthHandler *Peer::authHandler() const
return _authHandler;
}
return _authHandler;
}
-
const QDateTime &
Peer::connectedSince() const {
+
QDateTime
Peer::connectedSince() const {
return _connectedSince;
}
return _connectedSince;
}
@@
-41,7
+41,7
@@
void Peer::setConnectedSince(const QDateTime &connectedSince) {
_connectedSince = connectedSince;
}
_connectedSince = connectedSince;
}
-
const QString &
Peer::buildDate() const {
+
QString
Peer::buildDate() const {
return _buildDate;
}
return _buildDate;
}
@@
-49,7
+49,7
@@
void Peer::setBuildDate(const QString &buildDate) {
_buildDate = buildDate;
}
_buildDate = buildDate;
}
-
const QString &
Peer::clientVersion() const {
+
QString
Peer::clientVersion() const {
return _clientVersion;
}
return _clientVersion;
}