[turbine] Make keyEventHandler nodiscard
This commit is contained in:
parent
50f3479d10
commit
41e08d67aa
@ -56,6 +56,7 @@ T *applicationData(Context &ctx) noexcept {
|
||||
|
||||
void setKeyEventHandler(Context &ctx, KeyEventHandler h) noexcept;
|
||||
|
||||
[[nodiscard]]
|
||||
KeyEventHandler keyEventHandler(Context &ctx) noexcept;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user