Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Oct 31, 2024
1 parent 6e67aae commit 6117b9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions servers/physics_server_2d_dummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ class PhysicsServer2DDummy : public PhysicsServer2D {

virtual void joint_clear(RID p_joint) override {}

virtual void joint_set_enabled(RID p_joint, bool p_enabled) override {}
virtual bool joint_get_enabled(RID p_joint) const override { return false; }

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Template w/ Mono (target=template_release, tests=yes)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Template w/ Mono (target=template_release, tests=yes)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Minimal template (target=template_release, tests=yes, everything disabled)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Minimal template (target=template_release, tests=yes, everything disabled)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor w/ Mono (target=editor)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)

'joint_get_enabled' marked 'override' but does not override any member functions

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)

'joint_get_enabled' marked 'override' but does not override any member functions

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)

'joint_get_enabled' marked 'override' but does not override any member functions

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)

'joint_get_enabled' marked 'override' but does not override any member functions

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Template (target=template_release, tests=yes)

'PhysicsServer2DDummy::joint_get_enabled': method with override specifier 'override' did not override any base class methods

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Template (target=template_release, tests=yes)

'PhysicsServer2DDummy::joint_get_enabled': method with override specifier 'override' did not override any base class methods

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🐧 Linux / Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Editor (target=editor, tests=yes)

'PhysicsServer2DDummy::joint_get_enabled': method with override specifier 'override' did not override any base class methods

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Editor (target=editor, tests=yes)

'PhysicsServer2DDummy::joint_get_enabled': method with override specifier 'override' did not override any base class methods

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

Check failure on line 307 in servers/physics_server_2d_dummy.h

View workflow job for this annotation

GitHub Actions / 🏁 Windows / Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)

'virtual bool PhysicsServer2DDummy::joint_get_enabled(RID) const' marked 'override', but does not override

virtual void joint_set_param(RID p_joint, JointParam p_param, real_t p_value) override {}
virtual real_t joint_get_param(RID p_joint, JointParam p_param) const override { return 0; }

Expand Down
3 changes: 3 additions & 0 deletions servers/physics_server_3d_dummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ class PhysicsServer3DDummy : public PhysicsServer3D {

virtual void joint_clear(RID p_joint) override {}

virtual void joint_set_enabled(RID p_joint, bool p_enabled) override {}
virtual bool joint_get_enabled(RID p_joint) const override { return false; }

virtual JointType joint_get_type(RID p_joint) const override { return JointType::JOINT_TYPE_PIN; }

virtual void joint_set_solver_priority(RID p_joint, int p_priority) override {}
Expand Down

0 comments on commit 6117b9d

Please sign in to comment.