Skip to content

Commit

Permalink
Rename argument of _to_index, _from_index
Browse files Browse the repository at this point in the history
Follow-on to #59.
  • Loading branch information
aantron committed Oct 19, 2020
1 parent c730fc8 commit 3e115c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -671,12 +671,12 @@ class BETTER_ENUMS_CLASS_ATTRIBUTE Enum {
\
BETTER_ENUMS_CONSTEXPR_ std::size_t _to_index() const; \
BETTER_ENUMS_IF_EXCEPTIONS( \
BETTER_ENUMS_CONSTEXPR_ static Enum _from_index(std::size_t value); \
BETTER_ENUMS_CONSTEXPR_ static Enum _from_index(std::size_t index); \
) \
BETTER_ENUMS_CONSTEXPR_ static Enum \
_from_index_unchecked(std::size_t value); \
_from_index_unchecked(std::size_t index); \
BETTER_ENUMS_CONSTEXPR_ static _optional \
_from_index_nothrow(std::size_t value); \
_from_index_nothrow(std::size_t index); \
\
ToStringConstexpr const char* _to_string() const; \
BETTER_ENUMS_IF_EXCEPTIONS( \
Expand Down

0 comments on commit 3e115c0

Please sign in to comment.