From b0561c193ef0cfb1ab9532c1e37c93a90932faed Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 15 Jun 2026 22:22:19 +0300 Subject: [PATCH] fix --- CREDITS.md | 1 + include/omath/hud/canvas_box.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CREDITS.md b/CREDITS.md index aafc5cd..f2ff106 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -6,6 +6,7 @@ Thanks to everyone who made this possible, including: - Billy O'Neal aka BillyONeal for fixing compilation issues due to C math library compatibility. - Alex2772 for reference of AUI declarative interface design for omath::hud. - Keith O'Hara aka kthohr for a C++ generalized constant expression-based math library that was used as reference. + And a big hand to everyone else who has contributed over the past! THANKS! <3 diff --git a/include/omath/hud/canvas_box.hpp b/include/omath/hud/canvas_box.hpp index a794249..fa06b92 100644 --- a/include/omath/hud/canvas_box.hpp +++ b/include/omath/hud/canvas_box.hpp @@ -11,7 +11,7 @@ namespace omath::hud public: CanvasBox(Vector2 top, Vector2 bottom, float ratio = 4.f); - [[nodiscard]] + [[nodiscard("You have to use array")]] std::array, 4> as_array() const; Vector2 top_left_corner;