aboutsummaryrefslogtreecommitdiff
path: root/build2/scheduler.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/scheduler.txx')
-rw-r--r--build2/scheduler.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scheduler.txx b/build2/scheduler.txx
index 684409c..b62acdb 100644
--- a/build2/scheduler.txx
+++ b/build2/scheduler.txx
@@ -38,7 +38,7 @@ namespace build2
lock ql (tq->mutex);
if (tq->shutdown)
- throw system_error (ECANCELED, std::system_category ());
+ throw_generic_error (ECANCELED);
if (task_data* td = push (*tq))
{