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;