Skip to content

Commit

Permalink
Revert last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Sep 16, 2023
1 parent 5964dd1 commit c1e4c80
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/spdlog/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ struct loc_with_fmt
: loc(loc)
, fmt_string(fmt_str)
{}

#ifndef SPDLOG_USE_STD_FORMAT
constexpr loc_with_fmt(fmt::runtime_format_string<char> fmt_str, source_loc loc = source_loc::current()) noexcept
: loc(loc)
, fmt_string(fmt_str.str)
{}
#endif
};

struct file_event_handlers
Expand Down

0 comments on commit c1e4c80

Please sign in to comment.