From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/boot/BootKit/Qr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/boot/BootKit/Qr.h') diff --git a/src/boot/BootKit/Qr.h b/src/boot/BootKit/Qr.h index f537aa5e..f5ac5f2e 100644 --- a/src/boot/BootKit/Qr.h +++ b/src/boot/BootKit/Qr.h @@ -235,7 +235,7 @@ template struct Qr { private: friend class QrDelegate; - bool draw(int x, int y) noexcept; + bool draw(int x, int y); public: constexpr auto side_size() const { return SIDE; } @@ -303,7 +303,7 @@ bool Qr::module(int x, int y) { /// @brief draw a new QR code. template -bool Qr::draw(int whereX, int whereY) noexcept { +bool Qr::draw(int whereX, int whereY) { if (!this->status) return false; // it may be invalid. cg_init(); @@ -784,7 +784,7 @@ class QrDelegate final { /// @brief Draw method delegate. template - bool draw(Qr& subject, Int32 x, Int32 y) noexcept { + bool draw(Qr& subject, Int32 x, Int32 y) { return subject.draw(x, y); } }; -- cgit v1.2.3