diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-06-13 13:52:30 (GMT) |
commit | 645876deedb72aa8ebd2a56773f7dd5bb0133b71 (patch) | |
tree | fe1820b9e5aebe5b8f69359a2f0ea1a8f4b9a71c /Swiften/Elements/MUCPayload.h | |
parent | 643999af94c4fede5e1348da91ad539235b9d60f (diff) | |
download | swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.zip swift-contrib-645876deedb72aa8ebd2a56773f7dd5bb0133b71.tar.bz2 |
Fixed some CppCheck warnings.
Diffstat (limited to 'Swiften/Elements/MUCPayload.h')
-rw-r--r-- | Swiften/Elements/MUCPayload.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Elements/MUCPayload.h b/Swiften/Elements/MUCPayload.h index 8b75bd4..3b99111 100644 --- a/Swiften/Elements/MUCPayload.h +++ b/Swiften/Elements/MUCPayload.h @@ -40,19 +40,19 @@ namespace Swift { since_ = since; } - int getMaxChars() { + int getMaxChars() const{ return maxChars_; } - int getMaxStanzas() { + int getMaxStanzas() const{ return maxStanzas_; } - int getSeconds() { + int getSeconds() const { return seconds_; } - boost::posix_time::ptime getSince() { + const boost::posix_time::ptime& getSince() const { return since_; } |