Fix some code formatting

[skip ci]
This commit is contained in:
Anton Bachin 2020-10-19 08:42:50 +03:00
parent fd646ae537
commit 894eab5284

5
enum.h
View File

@ -406,7 +406,8 @@ continue_with(T, U value) { return value; }
// Values array declaration helper. // Values array declaration helper.
//! Get intrinsic value of an (Enum::value) by taking advantage of C-conversion's parentheses priority //! Get intrinsic value of an (Enum::value) by taking advantage of
// C-conversion's parentheses priority
template <typename EnumType> template <typename EnumType>
struct _eat_assign { struct _eat_assign {
explicit BETTER_ENUMS_CONSTEXPR_ _eat_assign(EnumType value) : _value(value) explicit BETTER_ENUMS_CONSTEXPR_ _eat_assign(EnumType value) : _value(value)
@ -641,7 +642,7 @@ BETTER_ENUMS_ID(GenerateSwitchType(Underlying, __VA_ARGS__)) \
\ \
} \ } \
\ \
class BETTER_ENUMS_CLASS_ATTRIBUTE Enum { \ class BETTER_ENUMS_CLASS_ATTRIBUTE Enum { \
private: \ private: \
typedef ::better_enums::optional<Enum> _optional; \ typedef ::better_enums::optional<Enum> _optional; \
typedef ::better_enums::optional<std::size_t> _optional_index; \ typedef ::better_enums::optional<std::size_t> _optional_index; \