Skip to content

Commit

Permalink
Make fmt::exception static inline
Browse files Browse the repository at this point in the history
  • Loading branch information
trapexit committed Nov 13, 2023
1 parent 3fddf3b commit 929bea1
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 929bea1

Please sign in to comment.