Skip to content

Commit

Permalink
IOSS: Fix so latest fmt version works
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Jul 8, 2024
1 parent aeee5aa commit f9077c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/applications/zellij/Cell.C
Original file line number Diff line number Diff line change
@@ -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.
//
Expand All @@ -21,7 +21,7 @@ extern unsigned int debug_level;
template <> struct fmt::formatter<Loc> : formatter<std::string>
{
// parse is inherited from formatter<std::string>.
template <typename FormatContext> auto format(Loc l, FormatContext &ctx)
template <typename FormatContext> auto format(Loc l, FormatContext &ctx) const
{
std::string name = "unknown";
switch (l) {
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/libraries/ioss/src/Ioss_Field.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <cstddef>
#include <cstdint>
#include <fmt/ostream.h>
#include <fmt/ranges.h>
#include <iostream>
#include <string>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions packages/seacas/libraries/ioss/src/Ioss_VariableType.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <fmt/core.h>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <fmt/ranges.h>
#include <map>
#include <sstream>
#include <string>
Expand Down

0 comments on commit f9077c6

Please sign in to comment.