From f9077c6916327e3a0283d2e75266a0d80a08291e Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Mon, 8 Jul 2024 16:52:31 -0600 Subject: [PATCH] IOSS: Fix so latest fmt version works --- packages/seacas/applications/zellij/Cell.C | 4 ++-- packages/seacas/libraries/ioss/src/Ioss_Field.C | 1 + packages/seacas/libraries/ioss/src/Ioss_VariableType.C | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/seacas/applications/zellij/Cell.C b/packages/seacas/applications/zellij/Cell.C index 30d13d8014..53b0d9f347 100644 --- a/packages/seacas/applications/zellij/Cell.C +++ b/packages/seacas/applications/zellij/Cell.C @@ -1,4 +1,4 @@ -// Copyright(C) 2021, 2022, 2023 National Technology & Engineering Solutions +// Copyright(C) 2021, 2022, 2023, 2024 National Technology & Engineering Solutions // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with // NTESS, the U.S. Government retains certain rights in this software. // @@ -21,7 +21,7 @@ extern unsigned int debug_level; template <> struct fmt::formatter : formatter { // parse is inherited from formatter. - template auto format(Loc l, FormatContext &ctx) + template auto format(Loc l, FormatContext &ctx) const { std::string name = "unknown"; switch (l) { diff --git a/packages/seacas/libraries/ioss/src/Ioss_Field.C b/packages/seacas/libraries/ioss/src/Ioss_Field.C index c110b825c5..0e0b33a8be 100644 --- a/packages/seacas/libraries/ioss/src/Ioss_Field.C +++ b/packages/seacas/libraries/ioss/src/Ioss_Field.C @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include diff --git a/packages/seacas/libraries/ioss/src/Ioss_VariableType.C b/packages/seacas/libraries/ioss/src/Ioss_VariableType.C index c14a7cfa15..21a21216f5 100644 --- a/packages/seacas/libraries/ioss/src/Ioss_VariableType.C +++ b/packages/seacas/libraries/ioss/src/Ioss_VariableType.C @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include