From ad81209aba20b14d582ad2ab87f7a7f82e1250fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <79349457+MehdiChinoune@users.noreply.github.com> Date: Sat, 14 Sep 2024 05:39:01 +0100 Subject: [PATCH 1/2] Fix build with fmt-11 --- src/helics/application_api/helicsTypes.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helics/application_api/helicsTypes.cpp b/src/helics/application_api/helicsTypes.cpp index 894ed71489..5f6d3134c7 100644 --- a/src/helics/application_api/helicsTypes.cpp +++ b/src/helics/application_api/helicsTypes.cpp @@ -18,6 +18,9 @@ SPDX-License-Identifier: BSD-3-Clause #include #include +#if FMT_VERSION >= 110000 +#include +#endif #include #include #include From b47beddd399ecbe07f4414be4dd733f3a85166a3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 04:40:30 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/helics/application_api/helicsTypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helics/application_api/helicsTypes.cpp b/src/helics/application_api/helicsTypes.cpp index 5f6d3134c7..50bf2d43de 100644 --- a/src/helics/application_api/helicsTypes.cpp +++ b/src/helics/application_api/helicsTypes.cpp @@ -19,7 +19,7 @@ SPDX-License-Identifier: BSD-3-Clause #include #include #if FMT_VERSION >= 110000 -#include +# include #endif #include #include