From 41e08d67aad06d4bc5da801788f09601ffc3fca2 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 23 Mar 2024 17:12:44 -0500 Subject: [PATCH] [turbine] Make keyEventHandler nodiscard --- src/olympic/turbine/include/turbine/context.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/olympic/turbine/include/turbine/context.hpp b/src/olympic/turbine/include/turbine/context.hpp index 8f84e765..ef288747 100644 --- a/src/olympic/turbine/include/turbine/context.hpp +++ b/src/olympic/turbine/include/turbine/context.hpp @@ -56,6 +56,7 @@ T *applicationData(Context &ctx) noexcept { void setKeyEventHandler(Context &ctx, KeyEventHandler h) noexcept; +[[nodiscard]] KeyEventHandler keyEventHandler(Context &ctx) noexcept; }