Skip to content

Commit ea6c5c7

Browse files
committed
fix: whoops...
1 parent c82500b commit ea6c5c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/REX/REX/CONVERT.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ namespace REX
1616
((bits[i++] = a_args), ...);
1717

1818
if constexpr (ARGC <= std::numeric_limits<std::uint32_t>::digits) {
19-
static_cast<U>(return bits.to_ulong());
19+
return static_cast<U>(bits.to_ulong());
2020
} else if constexpr (ARGC <= std::numeric_limits<std::uint64_t>::digits) {
21-
static_cast<U>(return bits.to_ullong());
21+
return static_cast<U>(bits.to_ullong());
2222
} else {
2323
static_assert(false && sizeof...(T));
2424
}

0 commit comments

Comments
 (0)