mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
fix: typo in format output
This commit is contained in:
@@ -267,7 +267,7 @@ TOML11_INLINE std::ostream& operator<<(std::ostream& os, const table_format f)
|
|||||||
case table_format::implicit : {os << "implicit" ; break;}
|
case table_format::implicit : {os << "implicit" ; break;}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
os << "unknown array_format: " << static_cast<std::uint8_t>(f);
|
os << "unknown table_format: " << static_cast<std::uint8_t>(f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -641,7 +641,7 @@ TOML11_INLINE std::ostream& operator<<(std::ostream& os, const table_format f)
|
|||||||
case table_format::implicit : {os << "implicit" ; break;}
|
case table_format::implicit : {os << "implicit" ; break;}
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
os << "unknown array_format: " << static_cast<std::uint8_t>(f);
|
os << "unknown table_format: " << static_cast<std::uint8_t>(f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user