[turbine] Make keyEventHandler nodiscard

This commit is contained in:
Gary Talent 2024-03-23 17:12:44 -05:00
parent 50f3479d10
commit 41e08d67aa

View File

@ -56,6 +56,7 @@ T *applicationData(Context &ctx) noexcept {
void setKeyEventHandler(Context &ctx, KeyEventHandler h) noexcept; void setKeyEventHandler(Context &ctx, KeyEventHandler h) noexcept;
[[nodiscard]]
KeyEventHandler keyEventHandler(Context &ctx) noexcept; KeyEventHandler keyEventHandler(Context &ctx) noexcept;
} }