Skip to content

Commit

Permalink
Merge pull request #34 from trapexit/fmt
Browse files Browse the repository at this point in the history
Make fmt::exception static inline
  • Loading branch information
trapexit authored Nov 13, 2023
2 parents 3fddf3b + 929bea1 commit b28fbf8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fmt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ struct fmt::formatter<std::filesystem::path> : formatter<std::string>
namespace fmt
{
static
inline
std::runtime_error
vexception(fmt::string_view fmt_,
fmt::format_args args_)
Expand All @@ -52,6 +53,8 @@ namespace fmt
}

template<typename Str, typename... Args>
static
inline
std::runtime_error
exception(Str const &fmt_,
Args &&... args_)
Expand Down

0 comments on commit b28fbf8

Please sign in to comment.