src: enable TE checks in packer.h; add some "noexcept"

This commit is contained in:
Markus F.X.J. Oberhumer
2023-04-18 17:56:28 +02:00
parent 5dc54c7adc
commit 9e3b1c9f8a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ protected:
unsigned image_size, int bits, bool bswap);
// Target Endianness abstraction
#if 0
#if 1
// 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>;