aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/goal.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/goal.hh')
-rw-r--r--src/libstore/build/goal.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh
index 930fe90da..d105c53cd 100644
--- a/src/libstore/build/goal.hh
+++ b/src/libstore/build/goal.hh
@@ -121,7 +121,7 @@ public:
/**
* Exception containing an error message, if any.
*/
- std::optional<Error> ex;
+ std::unique_ptr<Error> ex;
Goal(Worker & worker, DerivedPath path)
: worker(worker)