diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-22 00:44:52 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-22 00:44:52 +0300 |
commit | adddeca028100355a922cc4e45226ce7f18420c9 (patch) | |
tree | e056441415e76531c7b1137264b9238ac8056c05 /build2/scheduler.cxx | |
parent | 330820504e2f231b9e0255142147e2b7939bce0b (diff) |
Make use of throw_generic_error()
Diffstat (limited to 'build2/scheduler.cxx')
-rw-r--r-- | build2/scheduler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/scheduler.cxx b/build2/scheduler.cxx index 9a3003b..a453cb3 100644 --- a/build2/scheduler.cxx +++ b/build2/scheduler.cxx @@ -100,7 +100,7 @@ namespace build2 ready_--; if (shutdown_) - throw system_error (ECANCELED, system_category ()); + throw_generic_error (ECANCELED); active_++; } |