Skip to content

Commit

Permalink
fix: use fmt::underlying
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Nov 21, 2023
1 parent b9d2aef commit 680c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace iguana {
vals...
);
} else {
Warn("Logger::Print called with unknown log level '{}'; printing as error instead", static_cast<int>(lev)); // FIXME: static_cast -> fmt::underlying, but needs new version of fmt
Warn("Logger::Print called with unknown log level '{}'; printing as error instead", fmt::underlying(lev));
Error(message, vals...);
}
}
Expand Down

0 comments on commit 680c51b

Please sign in to comment.