From 3e115c0c179948924c907347ea6cfa169e5f1a24 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Mon, 19 Oct 2020 08:09:55 +0300 Subject: [PATCH] Rename argument of _to_index, _from_index Follow-on to #59. --- enum.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/enum.h b/enum.h index 1743388..1b8afac 100644 --- a/enum.h +++ b/enum.h @@ -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( \