summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-23 19:02:50 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-23 19:02:50 (GMT)
commit4681af4be3dd8722b2b23515c315e5bad9193c58 (patch)
tree00dd0659e0ed3c2f1d17b4a2ef2dd6d742fab943
parent0c4eba31839a8174a8d7776b0f55fcbd12899d10 (diff)
downloadswift-contrib-4681af4be3dd8722b2b23515c315e5bad9193c58.zip
swift-contrib-4681af4be3dd8722b2b23515c315e5bad9193c58.tar.bz2
Use const reference in JingleSession.
-rw-r--r--Swiften/Jingle/JingleSession.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Jingle/JingleSession.h b/Swiften/Jingle/JingleSession.h
index fa7da7e..b8117bb 100644
--- a/Swiften/Jingle/JingleSession.h
+++ b/Swiften/Jingle/JingleSession.h
@@ -27,7 +27,7 @@ namespace Swift {
return initiator;
}
- std::string getID() const {
+ const std::string& getID() const {
return id;
}