fix typo in example (#53)
This commit is contained in:
parent
b877a1a556
commit
1cc3feb884
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ constexpr std::string_view nameof::customize::enum_name<Color>(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>(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
|
||||
|
|
Loading…
Reference in a new issue