diff options
author | Vincent Richard <[email protected]> | 2005-01-02 14:10:16 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-01-02 14:10:16 +0000 |
commit | c843f40ff3e6e28e20c3b4c68172d9e69be9885d (patch) | |
tree | 7d879f83171dfc9207b581a2d9038e093c0cc39d /src/utility/path.cpp | |
parent | Added unit tests for 'utility::stringProxy' and 'utility::stringUtils'. (diff) | |
download | vmime-c843f40ff3e6e28e20c3b4c68172d9e69be9885d.tar.gz vmime-c843f40ff3e6e28e20c3b4c68172d9e69be9885d.zip |
Added unit tests for 'utility::path'.
Diffstat (limited to 'src/utility/path.cpp')
-rw-r--r-- | src/utility/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utility/path.cpp b/src/utility/path.cpp index b7651615..03ce6098 100644 --- a/src/utility/path.cpp +++ b/src/utility/path.cpp @@ -150,7 +150,7 @@ const bool path::isEmpty() const const path::component path::getLastComponent() const { - return (isEmpty() ? component("") : m_list[m_list.size() - 1]); + return (m_list[m_list.size() - 1]); } |