From 1cc3feb884d62ddee2ff6fd101e7ca80b5ee3113 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Fri, 27 Jan 2023 00:37:48 +0100 Subject: [PATCH] fix typo in example (#53) --- example/example_custom_name.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example_custom_name.cpp b/example/example_custom_name.cpp index e43cd6a..e8d4c3f 100644 --- a/example/example_custom_name.cpp +++ b/example/example_custom_name.cpp @@ -40,7 +40,7 @@ constexpr std::string_view nameof::customize::enum_name(Color value) noex case Color::GREEN: return {}; // Empty string for default value. } - return {}; // Empty string for unknow value. + return {}; // Empty string for unknown value. } // Сustom definitions of names for enum. @@ -51,7 +51,7 @@ constexpr std::string_view nameof::customize::enum_name(Numbers value) case Numbers::One: return "the one"; default: - return {}; // Empty string for default or unknow value. + return {}; // Empty string for default or unknown value. } } #endif