From c446211bf82a4e35581fdbf803b2d96ac13273b6 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Tue, 27 Jun 2023 21:01:55 +0300 Subject: [PATCH] Fix build https://github.com/LADI/giada/issues/1 --- src/utils/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/log.h b/src/utils/log.h index ada6b85b..170c6157 100644 --- a/src/utils/log.h +++ b/src/utils/log.h @@ -67,9 +67,9 @@ static void print(const char* format, Args&&... args) if (mode == LOG_MODE_MUTE) return; if (mode == LOG_MODE_FILE && file.is_open()) - fmt::print(file, format, args...); + fmt::print(file, fmt::runtime(format), args...); else - fmt::print(format, args...); + fmt::print(fmt::runtime(format), args...); } } // namespace giada::u::log