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/utility/path.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/utility/path.cpp')
-rw-r--r-- | src/utility/path.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/utility/path.cpp b/src/utility/path.cpp index eac1e6b1..053e612c 100644 --- a/src/utility/path.cpp +++ b/src/utility/path.cpp @@ -123,7 +123,7 @@ path& path::operator=(const component& c) } -const bool path::operator==(const path& p) const +bool path::operator==(const path& p) const { if (m_list.size() != p.m_list.size()) return (false); @@ -141,19 +141,19 @@ const bool path::operator==(const path& p) const } -const bool path::operator!=(const path& p) const +bool path::operator!=(const path& p) const { return (!(*this == p)); } -const bool path::isEmpty() const +bool path::isEmpty() const { return (m_list.empty()); } -const bool path::isRoot() const +bool path::isRoot() const { return (m_list.empty()); } @@ -171,7 +171,7 @@ path::component& path::getLastComponent() } -const int path::getSize() const +int path::getSize() const { return (m_list.size()); } @@ -189,7 +189,7 @@ path::component& path::operator[](const int x) } -const bool path::isDirectParentOf(const path& p) const +bool path::isDirectParentOf(const path& p) const { if (p.getSize() != getSize() + 1) return (false); @@ -203,7 +203,7 @@ const bool path::isDirectParentOf(const path& p) const } -const bool path::isParentOf(const path& p) const +bool path::isParentOf(const path& p) const { if (p.getSize() < getSize() + 1) return (false); |