Update common.h

pull/2690/head
M. Galib Uludag 2 years ago committed by GitHub
parent bc9abbed71
commit 59ff4f79f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,11 +143,11 @@ struct format_string_wrapper
: fmt_{fmt} : fmt_{fmt}
, loc_{loc} , loc_{loc}
{} {}
SPDLOG_CONSTEXPR const T fmt() SPDLOG_CONSTEXPR T fmt() const
{ {
return fmt_; return fmt_;
} }
SPDLOG_CONSTEXPR const source_loc loc() SPDLOG_CONSTEXPR source_loc loc() const
{ {
return source_loc{loc_.file_name(), loc_.line(), loc_.function_name()}; return source_loc{loc_.file_name(), loc_.line(), loc_.function_name()};
} }

Loading…
Cancel
Save