diff options
Diffstat (limited to 'src/libstore/build/substitution-goal.hh')
-rw-r--r-- | src/libstore/build/substitution-goal.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/build/substitution-goal.hh b/src/libstore/build/substitution-goal.hh index 1d389d328..52780a967 100644 --- a/src/libstore/build/substitution-goal.hh +++ b/src/libstore/build/substitution-goal.hh @@ -50,9 +50,7 @@ struct PathSubstitutionGoal : public Goal /** * The substituter thread. */ - std::thread thr; - - std::promise<void> promise; + std::future<void> thr; /** * Whether to try to repair a valid path. |