all: minor cleanups
This commit is contained in:
+6
-3
@@ -267,11 +267,14 @@ protected:
|
||||
#else
|
||||
// try to detect TE16 vs TE32 vs TE64 size mismatches; note that byte is explicitly allowed
|
||||
template <class T>
|
||||
static inline constexpr bool is_te16_type = is_same_any_v<T, byte, upx_uint16_t, BE16, LE16>;
|
||||
static inline constexpr bool is_te16_type =
|
||||
upx::is_same_any_v<T, byte, upx_uint16_t, BE16, LE16>;
|
||||
template <class T>
|
||||
static inline constexpr bool is_te32_type = is_same_any_v<T, byte, upx_uint32_t, BE32, LE32>;
|
||||
static inline constexpr bool is_te32_type =
|
||||
upx::is_same_any_v<T, byte, upx_uint32_t, BE32, LE32>;
|
||||
template <class T>
|
||||
static inline constexpr bool is_te64_type = is_same_any_v<T, byte, upx_uint64_t, BE64, LE64>;
|
||||
static inline constexpr bool is_te64_type =
|
||||
upx::is_same_any_v<T, byte, upx_uint64_t, BE64, LE64>;
|
||||
template <class T>
|
||||
using enable_if_te16 = std::enable_if_t<is_te16_type<T>, T>;
|
||||
template <class T>
|
||||
|
||||
Reference in New Issue
Block a user