mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd::fmt: Fix constructing cast.
This commit is contained in:
parent
6943187149
commit
0050e0f7d9
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ try
|
|||
// Ensure null termination if out buffer is non-empty.
|
||||
assert(size(this->out) > 0);
|
||||
assert(this->out.remaining());
|
||||
copy(this->out, '\0');
|
||||
copy(mutable_buffer(this->out), '\0');
|
||||
}
|
||||
catch(const std::out_of_range &e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue