aboutsummaryrefslogtreecommitdiff
path: root/build2/scheduler.txx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-22 00:44:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-22 00:44:52 +0300
commitadddeca028100355a922cc4e45226ce7f18420c9 (patch)
treee056441415e76531c7b1137264b9238ac8056c05 /build2/scheduler.txx
parent330820504e2f231b9e0255142147e2b7939bce0b (diff)
Make use of throw_generic_error()
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))
{