There was an error while loading. Please reload this page.
1 parent 45b442a commit acf7eb6Copy full SHA for acf7eb6
1 file changed
src/test_runner.cpp
@@ -181,7 +181,7 @@ void teardown_step(step_pipeline_context& context)
181
}
182
183
// clang-format off
184
-std::vector<void (*)(step_pipeline_context&)> step_pipeline = {
+constexpr const std::array<void (*)(step_pipeline_context&), 6> step_pipeline = {
185
skip_step,
186
find_step,
187
hook_before_step,
@@ -281,7 +281,7 @@ void verbose_end_print(scenario_pipeline_context& context)
281
282
283
284
-std::vector<void (*)(scenario_pipeline_context&)> scenario_pipeline = {
+constexpr const std::array<void (*)(scenario_pipeline_context&), 10> scenario_pipeline = {
285
verbose_start_print,
286
hook_before_scenario,
287
is_scenario_ignored,
0 commit comments