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/mediaType.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/mediaType.cpp')
-rw-r--r-- | src/mediaType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mediaType.cpp b/src/mediaType.cpp index 71acc2f2..569ccc38 100644 --- a/src/mediaType.cpp +++ b/src/mediaType.cpp @@ -105,13 +105,13 @@ void mediaType::generate(utility::outputStream& os, const string::size_type maxL } -const bool mediaType::operator==(const mediaType& type) const +bool mediaType::operator==(const mediaType& type) const { return (m_type == type.m_type && m_subType == type.m_subType); } -const bool mediaType::operator!=(const mediaType& type) const +bool mediaType::operator!=(const mediaType& type) const { return !(*this == type); } |