fs/Path: make IsAbsolute() const

This commit is contained in:
Max Kellermann 2015-02-28 23:00:16 +01:00
parent 6b3b1cbd99
commit e1a434edbc
2 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ public:
void ChopSeparators();
gcc_pure
bool IsAbsolute() {
bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str());
}
};

View File

@ -158,7 +158,7 @@ public:
}
gcc_pure
bool IsAbsolute() {
bool IsAbsolute() const {
return PathTraitsFS::IsAbsolute(c_str());
}
};