Skip to content

Commit

Permalink
- fix compilation on macOS (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Hart committed Oct 5, 2024
1 parent a7fa575 commit f4ed6f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hi_dsp_library/dsp_nodes/RoutingNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,9 @@ template <typename... Ts> struct global_cable_cpp_manager: private advanced_tupl

template <auto CableIndex> void setGlobalCableValue(double value)
{
this->get<(int)CableIndex>().template setValue(value);
static constexpr int Idx = static_cast<int>(CableIndex);
auto& c = this->template get<Idx>();
c.setValue(value);
}

private:
Expand Down

0 comments on commit f4ed6f7

Please sign in to comment.