summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-02 14:32:06 +0200
committerGitHub <noreply@github.com>2018-10-02 14:32:06 +0200
commit0b73a9e403a99af7c909908866d2b7822ddf3d44 (patch)
tree2a52e9e530d0fd9c93ae9c5ffa5ea8055b064087 /main
parent0f4c30fb7166e84d93f0b2cb20d726f869155d98 (diff)
parentc026e3957a815199ee301cdcbaa94698ee4a3705 (diff)
Merge pull request #22618 from akien-mga/fix-warnings
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-…
Diffstat (limited to 'main')
-rw-r--r--main/tests/test_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_io.cpp b/main/tests/test_io.cpp
index c1b4b8af9b..4e43ee6a54 100644
--- a/main/tests/test_io.cpp
+++ b/main/tests/test_io.cpp
@@ -50,7 +50,7 @@ class TestMainLoop : public MainLoop {
bool quit;
public:
- virtual void input_event(const InputEvent &p_event) {
+ virtual void input_event(const Ref<InputEvent> &p_event) {
}
virtual bool idle(float p_time) {
return false;