diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-22 09:55:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 09:55:27 +0100 |
commit | 726f31e992f544b73d8209eb95cc3d4ee501a0f0 (patch) | |
tree | 1d0631bd46efc30bb32ccc73c3797c322ad1150f /servers | |
parent | c700d714bb8dad0b6aae525f880d2ee2d679e7b6 (diff) | |
parent | c11e7ffd0ef0f34c00447efc1a95b57e3078f06f (diff) |
Merge pull request #26132 from marxin/fix-Wignored-qualifiers
Fix warnings seen with -Wignored-qualifiers.
Diffstat (limited to 'servers')
-rw-r--r-- | servers/physics/collision_object_sw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/collision_object_sw.h b/servers/physics/collision_object_sw.h index 6e6b66dac2..5c14d5aaf9 100644 --- a/servers/physics/collision_object_sw.h +++ b/servers/physics/collision_object_sw.h @@ -130,7 +130,7 @@ public: _FORCE_INLINE_ const Transform &get_shape_transform(int p_index) const { return shapes[p_index].xform; } _FORCE_INLINE_ const Transform &get_shape_inv_transform(int p_index) const { return shapes[p_index].xform_inv; } _FORCE_INLINE_ const AABB &get_shape_aabb(int p_index) const { return shapes[p_index].aabb_cache; } - _FORCE_INLINE_ const real_t get_shape_area(int p_index) const { return shapes[p_index].area_cache; } + _FORCE_INLINE_ real_t get_shape_area(int p_index) const { return shapes[p_index].area_cache; } _FORCE_INLINE_ Transform get_transform() const { return transform; } _FORCE_INLINE_ Transform get_inv_transform() const { return inv_transform; } |