summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cait/context.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cait/context.cc b/cait/context.cc
index f34d55c..ab7b5e6 100644
--- a/cait/context.cc
+++ b/cait/context.cc
@@ -22,8 +22,9 @@
namespace cait {
-context::context(const parser &parser) {
- this->jobs = std::thread::hardware_concurrency() + 2;
+context::context(const parser &parser)
+ : jobs(std::thread::hardware_concurrency() + 2) {
+ // this->jobs = std::thread::hardware_concurrency() + 2;
for (const auto &parse_node : parser.nodes()) {
std::visit(