diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
| commit | ceabd82ac8e796249feacf39c836034ed5e11c6d (patch) | |
| tree | e446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/boot/BootKit/Qr.h | |
| parent | 0376382a848ef5ebbb0e02428c9d1df8a099d8b4 (diff) | |
chore: source code review and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/boot/BootKit/Qr.h')
| -rw-r--r-- | src/boot/BootKit/Qr.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <int V> 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<V>::module(int x, int y) { /// @brief draw a new QR code. template <int V> -bool Qr<V>::draw(int whereX, int whereY) noexcept { +bool Qr<V>::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 <Int32 V> - bool draw(Qr<V>& subject, Int32 x, Int32 y) noexcept { + bool draw(Qr<V>& subject, Int32 x, Int32 y) { return subject.draw(x, y); } }; |
