From 0dff1522cef6f34e73b3aa1c37e730dda8a81940 Mon Sep 17 00:00:00 2001 From: Lioncache Date: Wed, 10 Jan 2024 17:51:42 -0500 Subject: [PATCH] registers: Mark Register constructor as explicit Missed when removing the unused type info. --- include/biscuit/registers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: