From a2a133ad266a1d65ad5410f43f2949a43834a8f6 Mon Sep 17 00:00:00 2001 From: Christina Tempelaar-Lietz Date: Mon, 7 Oct 2019 07:36:59 -0700 Subject: [PATCH] More NOSONAR suppressions in PyImath. Signed-off-by: Christina Tempelaar-Lietz --- PyIlmBase/PyImath/PyImathVec3Impl.h | 4 ++-- PyIlmBase/PyImath/PyImathVec4Impl.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyIlmBase/PyImath/PyImathVec3Impl.h b/PyIlmBase/PyImath/PyImathVec3Impl.h index be198a0e92..fc02c40e32 100644 --- a/PyIlmBase/PyImath/PyImathVec3Impl.h +++ b/PyIlmBase/PyImath/PyImathVec3Impl.h @@ -994,8 +994,8 @@ register_Vec3() .def("__itruediv__", &Vec3_idivObj,return_internal_reference<>()) .def("__xor__", &Vec3_dot) .def("__mod__", &Vec3_cross) - .def(self == self) - .def(self != self) + .def(self == self) // NOSONAR - suppress SonarCloud bug report. + .def(self != self) // NOSONAR - suppress SonarCloud bug report. .def("__add__", &Vec3_add) .def("__add__", &Vec3_addV) .def("__add__", &Vec3_addV) diff --git a/PyIlmBase/PyImath/PyImathVec4Impl.h b/PyIlmBase/PyImath/PyImathVec4Impl.h index e2a7900c98..54bc9b64ae 100644 --- a/PyIlmBase/PyImath/PyImathVec4Impl.h +++ b/PyIlmBase/PyImath/PyImathVec4Impl.h @@ -973,8 +973,8 @@ register_Vec4() .def("__idiv__", &Vec4_idivObj,return_internal_reference<>()) .def("__itruediv__", &Vec4_idivObj,return_internal_reference<>()) .def("__xor__", &Vec4_dot) - .def(self == self) - .def(self != self) + .def(self == self) // NOSONAR - suppress SonarCloud bug report. + .def(self != self) // NOSONAR - suppress SonarCloud bug report. .def("__add__", &Vec4_add) .def("__add__", &Vec4_addV) .def("__add__", &Vec4_addV)