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/body.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/body.cpp') diff --git a/src/body.cpp b/src/body.cpp index 88414ab6..0e347623 100644 --- a/src/body.cpp +++ b/src/body.cpp @@ -378,7 +378,7 @@ const string body::generateRandomBoundaryString() } -const bool body::isValidBoundary(const string& boundary) +bool body::isValidBoundary(const string& boundary) { static const string validChars("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'()+_,-./:=?"); @@ -469,7 +469,7 @@ void body::setParentPart(ref parent) } -const bool body::isRootPart() const +bool body::isRootPart() const { ref part = m_part.acquire(); return (part == NULL || part->getParentPart() == NULL); @@ -674,13 +674,13 @@ void body::removeAllParts() } -const int body::getPartCount() const +int body::getPartCount() const { return (m_parts.size()); } -const bool body::isEmpty() const +bool body::isEmpty() const { return (m_parts.size() == 0); } -- cgit v1.2.3