From d5d13d299049dcd6afaa58914f10b8ace8f27464 Mon Sep 17 00:00:00 2001 From: enn0x Date: Tue, 17 Jan 2012 21:14:51 +0000 Subject: [PATCH] Removing unnecessary const-ness of return values in BulletContactResult --- panda/src/bullet/bulletContactResult.I | 4 ++-- panda/src/bullet/bulletContactResult.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/panda/src/bullet/bulletContactResult.I b/panda/src/bullet/bulletContactResult.I index 1a60235713..dafcfcfdaf 100644 --- a/panda/src/bullet/bulletContactResult.I +++ b/panda/src/bullet/bulletContactResult.I @@ -18,7 +18,7 @@ // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const PandaNode *BulletContact:: +INLINE PandaNode *BulletContact:: get_node0() const { return _obj0 ? (PandaNode *)_obj0->getUserPointer() : NULL; @@ -29,7 +29,7 @@ get_node0() const { // Access: Published // Description: //////////////////////////////////////////////////////////////////// -INLINE const PandaNode *BulletContact:: +INLINE PandaNode *BulletContact:: get_node1() const { return _obj1 ? (PandaNode *)_obj1->getUserPointer() : NULL; diff --git a/panda/src/bullet/bulletContactResult.h b/panda/src/bullet/bulletContactResult.h index 6e46b8d370..b1bba45fb8 100644 --- a/panda/src/bullet/bulletContactResult.h +++ b/panda/src/bullet/bulletContactResult.h @@ -30,8 +30,8 @@ struct EXPCL_PANDABULLET BulletContact { PUBLISHED: INLINE const BulletManifoldPoint *get_manifold_point() const; - INLINE const PandaNode *get_node0() const; - INLINE const PandaNode *get_node1() const; + INLINE PandaNode *get_node0() const; + INLINE PandaNode *get_node1() const; INLINE const int get_idx0() const; INLINE const int get_idx1() const; INLINE const int get_part_id0() const;