aboutsummaryrefslogtreecommitdiff
path: root/include/Path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Path.hpp')
-rw-r--r--include/Path.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Path.hpp b/include/Path.hpp
index a881a53..3d849e2 100644
--- a/include/Path.hpp
+++ b/include/Path.hpp
@@ -48,7 +48,7 @@ namespace QuickMedia {
return "";
}
- Path parent() {
+ Path parent() const {
size_t slash_index = data.rfind('/');
if(slash_index != std::string::npos && slash_index > 0)
return Path(data.substr(0, slash_index));