diff options
Diffstat (limited to 'src/utility/path.cpp')
-rw-r--r-- | src/utility/path.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utility/path.cpp b/src/utility/path.cpp index 9e314e6a..2702f48c 100644 --- a/src/utility/path.cpp +++ b/src/utility/path.cpp @@ -171,19 +171,19 @@ path::component& path::getLastComponent() } -int path::getSize() const +size_t path::getSize() const { return (m_list.size()); } -const path::component& path::operator[](const int x) const +const path::component& path::operator[](const size_t x) const { return (m_list[x]); } -path::component& path::operator[](const int x) +path::component& path::operator[](const size_t x) { return (m_list[x]); } @@ -250,13 +250,13 @@ void path::appendComponent(const path::component& c) } -const path::component& path::getComponentAt(const int pos) const +const path::component& path::getComponentAt(const size_t pos) const { return (m_list[pos]); } -path::component& path::getComponentAt(const int pos) +path::component& path::getComponentAt(const size_t pos) { return (m_list[pos]); } |