endian.hpp: simplify be_t/le_t constructors
This commit is contained in:
@@ -175,9 +175,7 @@ namespace stx
|
||||
using under = decltype(int_or_enum());
|
||||
|
||||
public:
|
||||
constexpr se_t() = default;
|
||||
|
||||
constexpr se_t(const se_t& right) = default;
|
||||
se_t() noexcept = default;
|
||||
|
||||
constexpr se_t(type value) noexcept
|
||||
: m_data(to_data(value))
|
||||
|
||||
Reference in New Issue
Block a user