mirror of
https://github.com/NixOS/nix.git
synced 2025-11-30 14:10:59 +01:00
CanonPath, SourcePath: Change operator + to /
This is less confusing and makes it more similar to std::filesystem::path.
This commit is contained in:
parent
6ec08b85f6
commit
a6737b7e17
23 changed files with 48 additions and 47 deletions
|
|
@ -48,7 +48,7 @@ struct FSInputAccessor : InputAccessor, PosixSourceAccessor
|
|||
|
||||
CanonPath makeAbsPath(const CanonPath & path)
|
||||
{
|
||||
return root + path;
|
||||
return root / path;
|
||||
}
|
||||
|
||||
std::optional<CanonPath> getPhysicalPath(const CanonPath & path) override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue