Skip to content

Commit

Permalink
fix: typo in format output
Browse files Browse the repository at this point in the history
  • Loading branch information
ToruNiina committed Jul 24, 2024
1 parent ff3d866 commit 12c0f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/toml11/impl/format_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion single_include/toml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 12c0f37

Please sign in to comment.