Log: ensure fmt

This commit is contained in:
Megamouse 2022-04-24 14:35:01 +02:00
parent 1d40c06c19
commit e52386ccfb
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,8 @@ C-style format parser. Appends formatted string to `out`, returns number of char
template<typename Dst, typename Char, typename Src>
usz cfmt_append(Dst& out, const Char* fmt, Src&& src)
{
ensure(fmt);
const usz start_pos = out.size();
struct cfmt_context