diff --git a/include/toml11/impl/format_impl.hpp b/include/toml11/impl/format_impl.hpp index c0c60267..c4985faf 100644 --- a/include/toml11/impl/format_impl.hpp +++ b/include/toml11/impl/format_impl.hpp @@ -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(f); + os << "unknown table_format: " << static_cast(f); break; } } diff --git a/single_include/toml.hpp b/single_include/toml.hpp index 89b5f1d6..8e19e88d 100644 --- a/single_include/toml.hpp +++ b/single_include/toml.hpp @@ -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(f); + os << "unknown table_format: " << static_cast(f); break; } }