1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-21 10:13:43 +03:00

0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()

This commit is contained in:
kgv 2015-09-07 09:31:35 +03:00 committed by abv
parent dbde431489
commit a8dabcc5f7
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,10 @@
// Specific instantiations of struct templates to avoid compilation warnings // Specific instantiations of struct templates to avoid compilation warnings
template class NCollection_Vec2<Standard_Real>;
template class NCollection_Vec3<Standard_Real>;
template class NCollection_Vec4<Standard_Real>;
template class BVH_Box<Standard_Real, 2>; template class BVH_Box<Standard_Real, 2>;
template class BVH_Box<Standard_Real, 3>; template class BVH_Box<Standard_Real, 3>;
template class BVH_Box<Standard_Real, 4>; template class BVH_Box<Standard_Real, 4>;

View File

@ -284,7 +284,7 @@ public:
//! Compute per-component division by scale factor. //! Compute per-component division by scale factor.
NCollection_Vec3 operator/ (const Element_t theInvFactor) NCollection_Vec3 operator/ (const Element_t theInvFactor)
{ {
NCollection_Vec3 aResult (this); NCollection_Vec3 aResult (*this);
return aResult /= theInvFactor; return aResult /= theInvFactor;
} }