aboutsummaryrefslogtreecommitdiffstats
path: root/src/text.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
committerVincent Richard <[email protected]>2008-10-12 10:05:28 +0000
commit3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch)
tree1968196db0d6ae27fd70d0732ff3defed0efb61f /src/text.cpp
parentEncode '?' characters to avoid breaking QP encoding (Zarafa). (diff)
downloadvmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz
vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip
Fixed compilation warnings.
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp8
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());
}