fix typo in example (#53)

This commit is contained in:
Dirk Stolle 2023-01-27 00:37:48 +01:00 committed by GitHub
parent b877a1a556
commit 1cc3feb884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ constexpr std::string_view nameof::customize::enum_name<Color>(Color value) noex
case Color::GREEN: case Color::GREEN:
return {}; // Empty string for default value. return {}; // Empty string for default value.
} }
return {}; // Empty string for unknow value. return {}; // Empty string for unknown value.
} }
// Сustom definitions of names for enum. // Сustom definitions of names for enum.
@ -51,7 +51,7 @@ constexpr std::string_view nameof::customize::enum_name<Numbers>(Numbers value)
case Numbers::One: case Numbers::One:
return "the one"; return "the one";
default: default:
return {}; // Empty string for default or unknow value. return {}; // Empty string for default or unknown value.
} }
} }
#endif #endif