Skip to content

Commit

Permalink
Inline PathSubstitutionGoal::handleChildOutput's empty definition
Browse files Browse the repository at this point in the history
  • Loading branch information
L-as committed Jul 10, 2024
1 parent d44f06e commit 21b4efc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/libstore/build/substitution-goal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,6 @@ Goal::Co PathSubstitutionGoal::tryToRun(StorePath subPath, nix::ref<Store> sub,
}


void PathSubstitutionGoal::handleChildOutput(Descriptor fd, std::string_view data) {}


void PathSubstitutionGoal::handleEOF(Descriptor fd)
{
worker.wakeUp(shared_from_this());
Expand Down
2 changes: 1 addition & 1 deletion src/libstore/build/substitution-goal.hh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public:
/**
* Callback used by the worker to write to the log.
*/
void handleChildOutput(Descriptor fd, std::string_view data) override;
void handleChildOutput(Descriptor fd, std::string_view data) override {};
void handleEOF(Descriptor fd) override;

/* Called by destructor, can't be overridden */
Expand Down

0 comments on commit 21b4efc

Please sign in to comment.