flags: rename flags_to_string -> to_string

For consistency.
This commit is contained in:
Dirk-Jan C. Binnema
2022-04-10 12:30:59 +03:00
parent c6ff5f9ce3
commit 478ef67fc6
7 changed files with 7 additions and 7 deletions

View File

@ -278,7 +278,7 @@ static const char*
flags_s(Flags flags)
{
static char buf[64];
const auto flagstr{flags_to_string(flags)};
const auto flagstr{to_string(flags)};
::strncpy(buf, flagstr.c_str(), sizeof(buf) - 1);