fs/Path: make IsAbsolute() const
This commit is contained in:
parent
6b3b1cbd99
commit
e1a434edbc
|
@ -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:
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
bool IsAbsolute() {
|
bool IsAbsolute() const {
|
||||||
return PathTraitsFS::IsAbsolute(c_str());
|
return PathTraitsFS::IsAbsolute(c_str());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue