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/body.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/body.cpp')
-rw-r--r-- | src/body.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <bodyPart> parent) } -const bool body::isRootPart() const +bool body::isRootPart() const { ref <const bodyPart> 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); } |