diff options
author | Max Kellermann <max@duempel.org> | 2015-02-28 23:00:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-28 23:00:26 +0100 |
commit | e1a434edbc84528fcd85e337ebf713c75124ba2b (patch) | |
tree | a58335b7ab68a5a40365c4af5288cbc5324b36e9 /src | |
parent | 6b3b1cbd995ec2313427a6fe0b1607938cc71794 (diff) |
fs/Path: make IsAbsolute() const
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/AllocatedPath.hxx | 2 | ||||
-rw-r--r-- | src/fs/Path.hxx | 2 |
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()); } }; |