diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
commit | 645876deedb72aa8ebd2a56773f7dd5bb0133b71 (patch) | |
tree | fe1820b9e5aebe5b8f69359a2f0ea1a8f4b9a71c /Swiften/Elements/Form.h | |
parent | 643999af94c4fede5e1348da91ad539235b9d60f (diff) | |
download | swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.zip swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.tar.bz2 |
Fixed some CppCheck warnings.
Diffstat (limited to 'Swiften/Elements/Form.h')
-rw-r--r-- | Swiften/Elements/Form.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Elements/Form.h b/Swiften/Elements/Form.h index 3b93be4..47ff7d4 100644 --- a/Swiften/Elements/Form.h +++ b/Swiften/Elements/Form.h @@ -31,12 +31,12 @@ namespace Swift { void addField(boost::shared_ptr<FormField> field) { fields_.push_back(field); } const std::vector<boost::shared_ptr<FormField> >& getFields() const { return fields_; } void setTitle(const std::string& title) { title_ = title; } - const std::string& getTitle() { return title_; } + const std::string& getTitle() const { return title_; } void setInstructions(const std::string& instructions) { instructions_ = instructions; } - const std::string& getInstructions() { return instructions_; } + const std::string& getInstructions() const { return instructions_; } - Type getType() { return type_; } + Type getType() const { return type_; } void setType(Type type) { type_ = type; } std::string getFormType() const; |