fs/Path: make IsAbsolute() const

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

View File

@ -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());
} }
}; };

View File

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