From 4681af4be3dd8722b2b23515c315e5bad9193c58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Mon, 23 May 2011 21:02:50 +0200 Subject: Use const reference in JingleSession. 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; } -- cgit v0.10.2-6-g49f6