Use fmt::format_string

This commit is contained in:
Pokechu22 2022-01-12 16:59:19 -08:00
commit 0cc211d1ef
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ public:
// Writes format strings using fmtlib format strings.
template <typename... Args>
void Write(std::string_view format, Args&&... args)
void Write(fmt::format_string<Args...> format, Args&&... args)
{
fmt::format_to(std::back_inserter(m_buffer), format, std::forward<Args>(args)...);
}