Commit 6f227761 authored by Paul's avatar Paul
Browse files

Resize vector

parent 206af368
...@@ -126,6 +126,7 @@ struct compile_plan ...@@ -126,6 +126,7 @@ struct compile_plan
// No solution yet until benchmarked so skip for now // No solution yet until benchmarked so skip for now
if(solution.is_null()) if(solution.is_null())
return; return;
results.resize(1);
compiles.emplace_back([=] { compiles.emplace_back([=] {
results[0] = compiled_result{compile(*ctx, ins, preop, solution), ins}; results[0] = compiled_result{compile(*ctx, ins, preop, solution), ins};
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment