aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/logging/log.h
diff options
context:
space:
mode:
authoryuzubot <[email protected]>2024-03-04 00:57:21 +0000
committeryuzubot <[email protected]>2024-03-04 00:57:21 +0000
commit70711ddb39cf43af2307d5962e5380c5e0bbb365 (patch)
tree457bc29080a5fd051fa3c310b45e711ed69c0dbd /src/common/logging/log.h
parentadc597a7995508270628dbfc05afdf838bdc7cd6 (diff)
downloadyuzu-android-70711ddb39cf43af2307d5962e5380c5e0bbb365.tar.gz
yuzu-android-70711ddb39cf43af2307d5962e5380c5e0bbb365.zip
Merge yuzu-emu#13174
Diffstat (limited to 'src/common/logging/log.h')
-rw-r--r--src/common/logging/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index c00c01a9e..79f710265 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -24,12 +24,12 @@ constexpr const char* TrimSourcePath(std::string_view source) {
/// Logs a message to the global logger, using fmt
void FmtLogMessageImpl(Class log_class, Level log_level, const char* filename,
- unsigned int line_num, const char* function, const char* format,
+ unsigned int line_num, const char* function, fmt::string_view format,
const fmt::format_args& args);
template <typename... Args>
void FmtLogMessage(Class log_class, Level log_level, const char* filename, unsigned int line_num,
- const char* function, const char* format, const Args&... args) {
+ const char* function, fmt::format_string<Args...> format, const Args&... args) {
FmtLogMessageImpl(log_class, log_level, filename, line_num, function, format,
fmt::make_format_args(args...));
}