fs/AllocatedPath: add Build() overlays with Path arguments
This commit is contained in:
parent
4465e2c46b
commit
0bd01824f6
@ -97,6 +97,16 @@ public:
|
|||||||
b, PathTraitsFS::GetLength(b));
|
b, PathTraitsFS::GetLength(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gcc_pure gcc_nonnull_all
|
||||||
|
static AllocatedPath Build(Path a, const_pointer b) {
|
||||||
|
return Build(a.c_str(), b);
|
||||||
|
}
|
||||||
|
|
||||||
|
gcc_pure gcc_nonnull_all
|
||||||
|
static AllocatedPath Build(Path a, Path b) {
|
||||||
|
return Build(a, b.c_str());
|
||||||
|
}
|
||||||
|
|
||||||
gcc_pure gcc_nonnull_all
|
gcc_pure gcc_nonnull_all
|
||||||
static AllocatedPath Build(const_pointer a, const AllocatedPath &b) {
|
static AllocatedPath Build(const_pointer a, const AllocatedPath &b) {
|
||||||
return Build(a, PathTraitsFS::GetLength(a),
|
return Build(a, PathTraitsFS::GetLength(a),
|
||||||
|
Loading…
Reference in New Issue
Block a user