diff options
author | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
commit | 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch) | |
tree | 1968196db0d6ae27fd70d0732ff3defed0efb61f /src/text.cpp | |
parent | Encode '?' characters to avoid breaking QP encoding (Zarafa). (diff) | |
download | vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip |
Fixed compilation warnings.
Diffstat (limited to 'src/text.cpp')
-rw-r--r-- | src/text.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/text.cpp b/src/text.cpp index 13a682ef..2c811c42 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -131,7 +131,7 @@ text& text::operator=(const text& other) } -const bool text::operator==(const text& t) const +bool text::operator==(const text& t) const { if (getWordCount() == t.getWordCount()) { @@ -150,7 +150,7 @@ const bool text::operator==(const text& t) const } -const bool text::operator!=(const text& t) const +bool text::operator!=(const text& t) const { return !(*this == t); } @@ -199,13 +199,13 @@ void text::removeAllWords() } -const int text::getWordCount() const +int text::getWordCount() const { return (m_words.size()); } -const bool text::isEmpty() const +bool text::isEmpty() const { return (m_words.empty()); } |