mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()
This commit is contained in:
parent
cef6867ce9
commit
cc5f85f8c9
@ -25,6 +25,10 @@
|
||||
|
||||
// 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, 3>;
|
||||
template class BVH_Box<Standard_Real, 4>;
|
||||
|
@ -284,7 +284,7 @@ public:
|
||||
//! Compute per-component division by scale factor.
|
||||
NCollection_Vec3 operator/ (const Element_t theInvFactor)
|
||||
{
|
||||
NCollection_Vec3 aResult (this);
|
||||
NCollection_Vec3 aResult (*this);
|
||||
return aResult /= theInvFactor;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user