summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/FormSection.h')
-rw-r--r--Swiften/Elements/FormSection.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Elements/FormSection.h b/Swiften/Elements/FormSection.h
index f799062..22af67b 100644
--- a/Swiften/Elements/FormSection.h
+++ b/Swiften/Elements/FormSection.h
@@ -22,13 +22,13 @@ namespace Swift {
~FormSection();
void setLabel(const std::string& label);
const std::string& getLabel() const;
- void addTextElement(boost::shared_ptr<FormText>& textElement);
+ void addTextElement(boost::shared_ptr<FormText> textElement);
const std::vector<boost::shared_ptr<FormText> >& getTextElements() const;
- void addReportedRef(boost::shared_ptr<FormReportedRef>& reportedRef);
+ void addReportedRef(boost::shared_ptr<FormReportedRef> reportedRef);
const std::vector<boost::shared_ptr<FormReportedRef> >& getReportedRefs() const;
- void addChildSection(boost::shared_ptr<FormSection>& childSection);
+ void addChildSection(boost::shared_ptr<FormSection> childSection);
const std::vector<boost::shared_ptr<FormSection> >& getChildSections() const;
- void addField(boost::shared_ptr<FormField>& field);
+ void addField(boost::shared_ptr<FormField> field);
const std::vector<boost::shared_ptr<FormField> >& getFields() const;
void addFieldRef(std::string ref);
const std::vector<std::string> getFieldRefs() const;