Commit 41bfd45a authored by Max Kellermann's avatar Max Kellermann

fs/Path: make IsAbsolute() const

parent bbdcbd1f
...@@ -252,7 +252,7 @@ public: ...@@ -252,7 +252,7 @@ public:
void ChopSeparators(); void ChopSeparators();
gcc_pure gcc_pure
bool IsAbsolute() { bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str()); return PathTraitsFS::IsAbsolute(c_str());
} }
}; };
......
...@@ -158,7 +158,7 @@ public: ...@@ -158,7 +158,7 @@ public:
} }
gcc_pure gcc_pure
bool IsAbsolute() { bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str()); return PathTraitsFS::IsAbsolute(c_str());
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment