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);