From 010827d2440563f8363c9c5db57471c78bba0f60 Mon Sep 17 00:00:00 2001 From: swiderskis <66870324+swiderskis@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:44:48 +0000 Subject: [PATCH] Fix Window::SetExitKey() method return type --- include/Window.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Window.hpp b/include/Window.hpp index 5baabe79..dc096103 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -79,8 +79,8 @@ class Window { /** * Set a custom key to exit program (default is ESC) */ - bool SetExitKey(int key) { - return ::SetExitKey(key); + void SetExitKey(int key) { + ::SetExitKey(key); } /**