diff --git a/include/biscuit/registers.hpp b/include/biscuit/registers.hpp index 0fed6a8..df4ad9f 100644 --- a/include/biscuit/registers.hpp +++ b/include/biscuit/registers.hpp @@ -28,7 +28,7 @@ class Register { friend constexpr auto operator<=>(Register, Register) = default; protected: - constexpr Register(uint32_t index) noexcept + constexpr explicit Register(uint32_t index) noexcept : m_index{index} {} private: