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/Elements/FormField.h | |
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/Elements/FormField.h')
-rw-r--r-- | Swiften/Elements/FormField.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/FormField.h b/Swiften/Elements/FormField.h index 31e179d..e8fe3a0 100644 --- a/Swiften/Elements/FormField.h +++ b/Swiften/Elements/FormField.h @@ -48,7 +48,7 @@ namespace Swift { return options; } - const std::vector<std::string> getRawValues() const { + const std::vector<std::string>& getRawValues() const { return rawValues; } |