summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/FormField.h')
-rw-r--r--Swiften/Elements/FormField.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/FormField.h b/Swiften/Elements/FormField.h
index f455303..517369b 100644
--- a/Swiften/Elements/FormField.h
+++ b/Swiften/Elements/FormField.h
@@ -42,19 +42,19 @@ namespace Swift {
void addOption(const Option& option) {
options.push_back(option);
}
const std::vector<Option>& getOptions() const {
return options;
}
- const std::vector<std::string> getRawValues() const {
+ const std::vector<std::string>& getRawValues() const {
return rawValues;
}
void addRawValue(const std::string& value) {
rawValues.push_back(value);
}
protected:
FormField() : required(false) {}