Skip to content

Commit

Permalink
prefer const auto for: overlay_table
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoyvwac committed Dec 25, 2022
1 parent 53187bb commit 4b51c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sandbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ void Sandbox::renderUI() {
const function_sig_t do_overlay_action;
const overlay_fn_args_t parameters;
};
const std::array<vtable_overlay_fn_args_with_pred_t, 6> overlay_table = { vtable_overlay_fn_args_with_pred_t
const auto overlay_table = { vtable_overlay_fn_args_with_pred_t
{m_showTextures, &overlay_show_textures, {&uniforms, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}}
, {m_showPasses, &overlay_show_buffer_passes, {&uniforms, &m_sceneRender, &m_postprocessing, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr}}
, {display_m_plots, &overlay_plot_data, {nullptr, nullptr, nullptr, &m_plot_shader, &m_plot_texture, nullptr, nullptr, nullptr, nullptr}}
Expand Down

0 comments on commit 4b51c99

Please sign in to comment.