summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authormarxin <mliska@suse.cz>2019-02-21 20:24:29 +0100
committermarxin <mliska@suse.cz>2019-02-21 20:24:29 +0100
commitc11e7ffd0ef0f34c00447efc1a95b57e3078f06f (patch)
treebb59359bec5b68ea7804c3243ff298cb6b758978 /servers
parenta01dca79e2f7b7cb221a4c416cade4fad2941446 (diff)
Fix warnings seen with -Wignored-qualifiers.
Diffstat (limited to 'servers')
-rw-r--r--servers/physics/collision_object_sw.h2
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; }