From 1bea8e06b44d1d71d2c3d461b7a98f28835d64bf Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 1 Jun 2011 13:37:20 +0100 Subject: Make gets const 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: -- cgit v0.10.2-6-g49f6