diff options
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/Replace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/Replace.h b/Swiften/Elements/Replace.h index 44a91af..230bce7 100644 --- a/Swiften/Elements/Replace.h +++ b/Swiften/Elements/Replace.h @@ -16,7 +16,7 @@ namespace Swift { public: typedef boost::shared_ptr<Replace> ref; Replace(const std::string& id = std::string()) : replaceID_(id) {}; - std::string getID() { + const std::string& getID() const { return replaceID_; } void setID(const std::string& id) { |