diff options
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]); } |