add workaround for compiling with spdlog and incompatible libfmt (fixes #214)

This commit is contained in:
ouwou
2023-08-25 20:13:37 -04:00
parent 2378c781d1
commit eea5987f37
5 changed files with 19 additions and 13 deletions

View File

@@ -79,7 +79,8 @@ AudioManager::AudioManager() {
return;
}
spdlog::get("audio")->info("Audio backend: {}", ma_get_backend_name(m_context.backend));
const auto backend_name = ma_get_backend_name(m_context.backend);
spdlog::get("audio")->info("Audio backend: {}", backend_name);
Enumerate();