From ae3297db9d7ac64be8a45b1d06fa24beb64e5bfe Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Fri, 9 Aug 2024 12:27:09 -0600 Subject: [PATCH] fixed compiler warnings introduced by previous fix --- vendor/nanogui/nanogui/screen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/nanogui/nanogui/screen.h b/vendor/nanogui/nanogui/screen.h index 6cee1638..74bdc3ae 100644 --- a/vendor/nanogui/nanogui/screen.h +++ b/vendor/nanogui/nanogui/screen.h @@ -119,10 +119,10 @@ class NANOGUI_EXPORT Screen : public Widget { virtual bool dropEvent(const std::vector & /* filenames */) { return false; /* To be overridden */ } /// Default keyboard event handler - virtual bool keyboardEvent(int key, int scancode, int action, int modifiers); + virtual bool keyboardEvent(int key, int scancode, int action, int modifiers) override; /// Text input event handler: codepoint is native endian UTF-32 format - virtual bool keyboardCharacterEvent(unsigned int codepoint); + virtual bool keyboardCharacterEvent(unsigned int codepoint) override; /// Window resize event handler virtual bool resizeEvent(const Vector2i& size);