From 12c0f379f2e865b4ce984758d5ae004f9de07d69 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 25 Jul 2024 01:38:24 +0900 Subject: [PATCH] fix: typo in format output --- include/toml11/impl/format_impl.hpp | 2 +- single_include/toml.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/toml11/impl/format_impl.hpp b/include/toml11/impl/format_impl.hpp index c0c6026..c4985fa 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 89b5f1d..8e19e88 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; } }