From bd4345cb6856e6278ce452e430a4f658cb8143fe Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 25 Aug 2023 21:28:03 -0400 Subject: [PATCH] more spdlog/libfmt workaround --- src/audio/manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/audio/manager.cpp b/src/audio/manager.cpp index 20089d2..739e835 100644 --- a/src/audio/manager.cpp +++ b/src/audio/manager.cpp @@ -598,7 +598,8 @@ void AudioManager::SetVADMethod(const std::string &method) { } void AudioManager::SetVADMethod(VADMethod method) { - spdlog::get("audio")->debug("Setting VAD method to enum {}", static_cast(method)); + const auto method_int = static_cast(method); + spdlog::get("audio")->debug("Setting VAD method to enum {}", method_int); m_vad_method = method; }