From d451d9eade3b235e84757b8eb7f9ee956f1c5475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Fri, 15 Nov 2024 21:52:41 -0500 Subject: [PATCH] [ci] Fix invalid code noticed by clang 19 --- include/avnd/binding/ossia/port_run_preprocess.hpp | 2 +- include/avnd/binding/ossia/time_controls.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/avnd/binding/ossia/port_run_preprocess.hpp b/include/avnd/binding/ossia/port_run_preprocess.hpp index c41da22e..95ce96d1 100644 --- a/include/avnd/binding/ossia/port_run_preprocess.hpp +++ b/include/avnd/binding/ossia/port_run_preprocess.hpp @@ -315,7 +315,7 @@ struct process_before_run using span_in = avnd::span_parameter_input_introspection; using T = typename decltype(Field::value)::value_type; static constexpr auto field_idx - = span_in::template field_index_to_index(avnd::field_index{}); + = span_in::field_index_to_index(avnd::field_index{}); auto& dest_vec = get(self.control_buffers.span_inputs); dest_vec.resize(src_vec->size()); diff --git a/include/avnd/binding/ossia/time_controls.hpp b/include/avnd/binding/ossia/time_controls.hpp index 4558c66a..e09d7ce8 100644 --- a/include/avnd/binding/ossia/time_controls.hpp +++ b/include/avnd/binding/ossia/time_controls.hpp @@ -68,7 +68,7 @@ struct time_control_storage : time_control_input_storage avnd::effect_container& t, avnd::field_index, float value, bool sync) { static constexpr std::size_t NPred - = avnd::time_control_input_introspection::template field_index_to_index( + = avnd::time_control_input_introspection::field_index_to_index( avnd::field_index{}); time_control_state& g = get(this->handles);