Commit e1a434ed authored by Max Kellermann's avatar Max Kellermann

fs/Path: make IsAbsolute() const

parent 6b3b1cbd
...@@ -257,7 +257,7 @@ public: ...@@ -257,7 +257,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