[WIP] Suppress compiler warnings.
Fix Visual Studio warning C4373: previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers.
This commit is contained in:
@@ -44,7 +44,7 @@ int DillCreator::getNumBodies(int* num_bodies) const {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int DillCreator::getBody(int body_index, int* parent_index, JointType* joint_type,
|
int DillCreator::getBody(const int body_index, int* parent_index, JointType* joint_type,
|
||||||
vec3* parent_r_parent_body_ref, mat33* body_T_parent_ref,
|
vec3* parent_r_parent_body_ref, mat33* body_T_parent_ref,
|
||||||
vec3* body_axis_of_motion, idScalar* mass, vec3* body_r_body_com,
|
vec3* body_axis_of_motion, idScalar* mass, vec3* body_r_body_com,
|
||||||
mat33* body_I_body, int* user_int, void** user_ptr) const {
|
mat33* body_I_body, int* user_int, void** user_ptr) const {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ public:
|
|||||||
///\copydoc MultiBodyTreeCreator::getNumBodies
|
///\copydoc MultiBodyTreeCreator::getNumBodies
|
||||||
int getNumBodies(int* num_bodies) const;
|
int getNumBodies(int* num_bodies) const;
|
||||||
///\copydoc MultiBodyTreeCreator::getBody
|
///\copydoc MultiBodyTreeCreator::getBody
|
||||||
int getBody(int body_index, int* parent_index, JointType* joint_type,
|
int getBody(const int body_index, int* parent_index, JointType* joint_type,
|
||||||
vec3* parent_r_parent_body_ref, mat33* body_T_parent_ref, vec3* body_axis_of_motion,
|
vec3* parent_r_parent_body_ref, mat33* body_T_parent_ref, vec3* body_axis_of_motion,
|
||||||
idScalar* mass, vec3* body_r_body_com, mat33* body_I_body, int* user_int,
|
idScalar* mass, vec3* body_r_body_com, mat33* body_I_body, int* user_int,
|
||||||
void** user_ptr) const;
|
void** user_ptr) const;
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ int btMultiBodyTreeCreator::getNumBodies(int *num_bodies) const {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int btMultiBodyTreeCreator::getBody(int body_index, int *parent_index, JointType *joint_type,
|
int btMultiBodyTreeCreator::getBody(const int body_index, int *parent_index, JointType *joint_type,
|
||||||
vec3 *parent_r_parent_body_ref, mat33 *body_T_parent_ref,
|
vec3 *parent_r_parent_body_ref, mat33 *body_T_parent_ref,
|
||||||
vec3 *body_axis_of_motion, idScalar *mass,
|
vec3 *body_axis_of_motion, idScalar *mass,
|
||||||
vec3 *body_r_body_com, mat33 *body_I_body, int *user_int,
|
vec3 *body_r_body_com, mat33 *body_I_body, int *user_int,
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public:
|
|||||||
/// \copydoc MultiBodyTreeCreator::getNumBodies
|
/// \copydoc MultiBodyTreeCreator::getNumBodies
|
||||||
int getNumBodies(int *num_bodies) const;
|
int getNumBodies(int *num_bodies) const;
|
||||||
///\copydoc MultiBodyTreeCreator::getBody
|
///\copydoc MultiBodyTreeCreator::getBody
|
||||||
int getBody(int body_index, int *parent_index, JointType *joint_type,
|
int getBody(const int body_index, int *parent_index, JointType *joint_type,
|
||||||
vec3 *parent_r_parent_body_ref, mat33 *body_T_parent_ref, vec3 *body_axis_of_motion,
|
vec3 *parent_r_parent_body_ref, mat33 *body_T_parent_ref, vec3 *body_axis_of_motion,
|
||||||
idScalar *mass, vec3 *body_r_body_com, mat33 *body_I_body, int *user_int,
|
idScalar *mass, vec3 *body_r_body_com, mat33 *body_I_body, int *user_int,
|
||||||
void **user_ptr) const;
|
void **user_ptr) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user