We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c82500b commit ea6c5c7Copy full SHA for ea6c5c7
1 file changed
include/REX/REX/CONVERT.h
@@ -16,9 +16,9 @@ namespace REX
16
((bits[i++] = a_args), ...);
17
18
if constexpr (ARGC <= std::numeric_limits<std::uint32_t>::digits) {
19
- static_cast<U>(return bits.to_ulong());
+ return static_cast<U>(bits.to_ulong());
20
} else if constexpr (ARGC <= std::numeric_limits<std::uint64_t>::digits) {
21
- static_cast<U>(return bits.to_ullong());
+ return static_cast<U>(bits.to_ullong());
22
} else {
23
static_assert(false && sizeof...(T));
24
}
0 commit comments