fix: typo in format output

This commit is contained in:
ToruNiina 2024-07-25 01:38:24 +09:00
parent ff3d866728
commit 12c0f379f2
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ TOML11_INLINE std::ostream& operator<<(std::ostream& os, const table_format f)
case table_format::implicit : {os << "implicit" ; break;}
default:
{
os << "unknown array_format: " << static_cast<std::uint8_t>(f);
os << "unknown table_format: " << static_cast<std::uint8_t>(f);
break;
}
}

View File

@ -641,7 +641,7 @@ TOML11_INLINE std::ostream& operator<<(std::ostream& os, const table_format f)
case table_format::implicit : {os << "implicit" ; break;}
default:
{
os << "unknown array_format: " << static_cast<std::uint8_t>(f);
os << "unknown table_format: " << static_cast<std::uint8_t>(f);
break;
}
}