mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 15:32:43 +01:00
Proxy -> Phantom to match Rust
Sorry, Haskell.
This commit is contained in:
parent
cf939055c8
commit
ed96e603e1
2 changed files with 8 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ void writeStorePathCAMap(const Store & store, Sink & out, const StorePathCAMap &
|
|||
}
|
||||
|
||||
|
||||
StorePath read(const Store & store, Source & from, Proxy<StorePath> _)
|
||||
StorePath read(const Store & store, Source & from, Phantom<StorePath> _)
|
||||
{
|
||||
return store.parseStorePath(readString(from));
|
||||
}
|
||||
|
|
@ -461,7 +461,7 @@ std::map<std::string, std::optional<StorePath>> RemoteStore::queryDerivationOutp
|
|||
auto conn(getConnection());
|
||||
conn->to << wopQueryDerivationOutputMap << printStorePath(path);
|
||||
conn.processStderr();
|
||||
return read(*this, conn->from, Proxy<std::map<std::string, std::optional<StorePath>>> {});
|
||||
return read(*this, conn->from, Phantom<std::map<std::string, std::optional<StorePath>>> {});
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue