From 4091acca56c189a350e195450272ec4471ba91cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 30 Apr 2011 23:52:14 +0200
Subject: Make Replace::getID() const and return a const ref.


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) {
-- 
cgit v0.10.2-6-g49f6