aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fs/AllocatedPath.hxx2
-rw-r--r--src/fs/Path.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx
index c90a2aec4..1f5733244 100644
--- a/src/fs/AllocatedPath.hxx
+++ b/src/fs/AllocatedPath.hxx
@@ -257,7 +257,7 @@ public:
void ChopSeparators();
gcc_pure
- bool IsAbsolute() {
+ bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str());
}
};
diff --git a/src/fs/Path.hxx b/src/fs/Path.hxx
index 586224eaf..bf6d1e3ce 100644
--- a/src/fs/Path.hxx
+++ b/src/fs/Path.hxx
@@ -158,7 +158,7 @@ public:
}
gcc_pure
- bool IsAbsolute() {
+ bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str());
}
};