Skip to content

Commit 0156ee3

Browse files
committed
Inline PathSubstitutionGoal::handleChildOutput's empty definition
1 parent 2f865ce commit 0156ee3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/libstore/build/substitution-goal.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ Goal::Co PathSubstitutionGoal::tryToRun(StorePath subPath, nix::ref<Store> sub,
275275
}
276276

277277

278-
void PathSubstitutionGoal::handleChildOutput(Descriptor fd, std::string_view data) {}
279-
280-
281278
void PathSubstitutionGoal::handleEOF(Descriptor fd)
282279
{
283280
worker.wakeUp(shared_from_this());

src/libstore/build/substitution-goal.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public:
7272
/**
7373
* Callback used by the worker to write to the log.
7474
*/
75-
void handleChildOutput(Descriptor fd, std::string_view data) override;
75+
void handleChildOutput(Descriptor fd, std::string_view data) override {};
7676
void handleEOF(Descriptor fd) override;
7777

7878
/* Called by destructor, can't be overridden */

0 commit comments

Comments
 (0)