Skip to content

Commit dc719ec

Browse files
committed
Fix ctor
1 parent df15c31 commit dc719ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/xsimd/config/xsimd_getauxval.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ namespace xsimd
3434
class linux_auxval : private utils::uint_bitset<A, linux_getauxval_t>
3535
{
3636
using bitset_t = utils::uint_bitset<A, linux_getauxval_t>;
37+
using bitset_t::bitset_t;
3738

3839
public:
3940
using aux = A;
4041

4142
inline static linux_auxval read()
4243
{
43-
return bitset_t(linux_getauxval(type));
44+
return linux_auxval(linux_getauxval(type));
4445
}
4546

4647
/** Create a value which returns false to everything. */

0 commit comments

Comments
 (0)