summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-06-01 12:37:20 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-06-01 12:37:20 (GMT)
commit1bea8e06b44d1d71d2c3d461b7a98f28835d64bf (patch)
treef20ca84efe644535699108f586dfc90d150c0e71 /Swiften
parent65bf5d8ba0fd41a70434671df433bae23e9b0af3 (diff)
downloadswift-contrib-1bea8e06b44d1d71d2c3d461b7a98f28835d64bf.zip
swift-contrib-1bea8e06b44d1d71d2c3d461b7a98f28835d64bf.tar.bz2
Make gets const
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Elements/Last.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/Last.h b/Swiften/Elements/Last.h
index 2987817..ba302e3 100644
--- a/Swiften/Elements/Last.h
+++ b/Swiften/Elements/Last.h
@@ -14,7 +14,7 @@ namespace Swift {
Last() {};
Last(int seconds) : seconds_(seconds) {};
- int getSeconds() {return seconds_;}
+ int getSeconds() const {return seconds_;}
void setSeconds(int seconds) {seconds_ = seconds;}
private: