From c70c241a600ab4b1423d0b283f37ebcdb1c958ba Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Mon, 13 Jan 2025 15:40:24 -0700 Subject: [PATCH] fix warn --- amr-wind/wind_energy/actuator/turbine/fast/fast_wrapper.H | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/amr-wind/wind_energy/actuator/turbine/fast/fast_wrapper.H b/amr-wind/wind_energy/actuator/turbine/fast/fast_wrapper.H index 1ec2de7b03..12733d5990 100644 --- a/amr-wind/wind_energy/actuator/turbine/fast/fast_wrapper.H +++ b/amr-wind/wind_energy/actuator/turbine/fast/fast_wrapper.H @@ -168,13 +168,13 @@ inline void FAST_OpFM_Restart( #if OPENFAST_VERSION_MAJOR == 4 static constexpr auto& FAST_Solution0 = FAST_CFD_Solution0; static constexpr auto& FAST_Step = FAST_CFD_Step; -typedef ExtInfw_InputType_t OfInputType; -typedef ExtInfw_OutputType_t OfOutputType; +using OfInputType = ExtInfw_InputType_t; +using OfOutputType = ExtInfw_OutputType_t; #else static constexpr auto& FAST_Solution0 = FAST_OpFM_Solution0; static constexpr auto& FAST_Step = FAST_OpFM_Step; -typedef OpFM_InputType OfInputType; -typedef OpFM_OutputType OfOutputType; +using OfInputType = OpFM_InputType; +using OfOutputType = OpFM_OutputType; #endif } // namespace exw_fast