Update fmt version to 9.1.0 (#177)

This commit is contained in:
SSimco 2022-09-05 15:48:44 +03:00 committed by GitHub
parent f2ec0b4083
commit 0ed4fdcd78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 56 additions and 33 deletions

View file

@ -219,7 +219,7 @@ namespace iosu
template <typename ... TArgs>
curl_slist* append_header_param(struct curl_slist* list, const char* format, TArgs&& ... args)
{
return curl_slist_append(list, fmt::format(format, std::forward<TArgs>(args)...).c_str());
return curl_slist_append(list, fmt::format(fmt::runtime(format), std::forward<TArgs>(args)...).c_str());
}
bool starts_with(const char* str, const char* pre)