mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
remove unnecessary template instantiations
This commit is contained in:
parent
6fe7ffbf35
commit
e59f8736fe
1 changed files with 0 additions and 5 deletions
|
|
@ -496,11 +496,6 @@ constexpr auto n() noexcept {
|
|||
#else
|
||||
auto name = str_view{};
|
||||
#endif
|
||||
constexpr auto prefix = n<decltype(V)>().size();
|
||||
if (name.size_ > prefix && name.str_[prefix] == ':') {
|
||||
name.size_ -= (prefix + 2);
|
||||
name.str_ += (prefix + 2);
|
||||
}
|
||||
std::size_t p = 0;
|
||||
for (std::size_t i = 0; i < name.size_; ++i) {
|
||||
if (name.str_[i] == ':') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue