From 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 12 Oct 2008 10:05:28 +0000 Subject: Fixed compilation warnings. --- src/text.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/text.cpp') 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()); } -- cgit v1.2.3