diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-06-01 12:37:20 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-06-01 12:37:20 (GMT) |
commit | 1bea8e06b44d1d71d2c3d461b7a98f28835d64bf (patch) | |
tree | f20ca84efe644535699108f586dfc90d150c0e71 /Swiften | |
parent | 65bf5d8ba0fd41a70434671df433bae23e9b0af3 (diff) | |
download | swift-1bea8e06b44d1d71d2c3d461b7a98f28835d64bf.zip swift-1bea8e06b44d1d71d2c3d461b7a98f28835d64bf.tar.bz2 |
Make gets const
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Elements/Last.h | 2 |
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: |