Skip to content

Commit

Permalink
[ci] Fix invalid code noticed by clang 19
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 16, 2024
1 parent 4868f4d commit d451d9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/avnd/binding/ossia/port_run_preprocess.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ struct process_before_run
using span_in = avnd::span_parameter_input_introspection<Obj_T>;
using T = typename decltype(Field::value)::value_type;
static constexpr auto field_idx
= span_in::template field_index_to_index(avnd::field_index<Idx>{});
= span_in::field_index_to_index(avnd::field_index<Idx>{});
auto& dest_vec = get<field_idx>(self.control_buffers.span_inputs);
dest_vec.resize(src_vec->size());

Expand Down
2 changes: 1 addition & 1 deletion include/avnd/binding/ossia/time_controls.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct time_control_storage : time_control_input_storage<T>
avnd::effect_container<T>& t, avnd::field_index<NField>, float value, bool sync)
{
static constexpr std::size_t NPred
= avnd::time_control_input_introspection<T>::template field_index_to_index(
= avnd::time_control_input_introspection<T>::field_index_to_index(
avnd::field_index<NField>{});

time_control_state& g = get<NPred>(this->handles);
Expand Down

0 comments on commit d451d9e

Please sign in to comment.