Skip to content

Commit

Permalink
Fix another error and a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantrinkle committed Aug 10, 2023
1 parent 3ee7d05 commit f2e18a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libstore/build-interpose-uds.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ struct BuildInterposeUDSStore : virtual BuildInterposeUDSStoreConfig, virtual UD
{
static std::set<std::string> uriSchemes() { return {"build-interpose-unix"}; }

using UDSRemoteStore::UDSRemoteStore;

struct InterposeConnection;

ref<Pool<InterposeConnection>> interposeConnections;
Expand Down Expand Up @@ -89,7 +87,7 @@ BuildInterposeUDSStore::BuildInterposeUDSStore(
nix::connect(socket.get(), buildInterposeSocket);
return make_ref<InterposeConnection>(std::move(socket));
},
[this](const ref<InterposeConnection> & r) {
[](const ref<InterposeConnection> & r) {
return
r->to.good()
&& r->from.good();
Expand Down

0 comments on commit f2e18a2

Please sign in to comment.