Skip to content

Commit

Permalink
fixed compiler warnings introduced by previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tra committed Aug 9, 2024
1 parent bdf16c9 commit ae3297d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vendor/nanogui/nanogui/screen.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ class NANOGUI_EXPORT Screen : public Widget {
virtual bool dropEvent(const std::vector<std::string> & /* 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);
Expand Down

0 comments on commit ae3297d

Please sign in to comment.