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/encoding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/encoding.cpp') diff --git a/src/encoding.cpp b/src/encoding.cpp index 3ab9194f..202dfe90 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -97,13 +97,13 @@ encoding& encoding::operator=(const string& name) } -const bool encoding::operator==(const encoding& value) const +bool encoding::operator==(const encoding& value) const { return (utility::stringUtils::toLower(m_name) == value.m_name); } -const bool encoding::operator!=(const encoding& value) const +bool encoding::operator!=(const encoding& value) const { return !(*this == value); } -- cgit v1.2.3