diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-05-23 18:57:05 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-31 18:34:02 (GMT) |
commit | a2085ddc61b74d630d1b117e6b0a2be05dd911ea (patch) | |
tree | 00dd0659e0ed3c2f1d17b4a2ef2dd6d742fab943 /Swiften/Jingle | |
parent | 182bdd709a57ab4d17f163ae28c5663fb3dd4287 (diff) | |
download | swift-contrib-a2085ddc61b74d630d1b117e6b0a2be05dd911ea.zip swift-contrib-a2085ddc61b74d630d1b117e6b0a2be05dd911ea.tar.bz2 |
Fixed const references to vectors.
This could potentially cause crashes (same as a previous patch).
Diffstat (limited to 'Swiften/Jingle')
-rw-r--r-- | Swiften/Jingle/JingleSession.h | 2 |
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; } |