mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0025545: TopLoc_Location::Transformation() provokes data races
Get rid of postponed calculation of transformation. Remove unused methods. Add command OCC25545 to reproduce the bug with data races. - Get rid of C++11 lambda construction - make code compilable with no HAVE_TBB defined - add test case bugs/fclasses/bug25545
This commit is contained in:
@@ -343,7 +343,7 @@ is
|
||||
|
||||
Power (me : in out; N : Integer) raises ConstructionError is static;
|
||||
|
||||
Powered (me : in out; N : Integer) returns Trsf
|
||||
Powered (me; N : Integer) returns Trsf
|
||||
---C++: inline
|
||||
--- Purpose :
|
||||
-- Computes the following composition of transformations
|
||||
|
@@ -92,7 +92,7 @@ inline gp_Trsf gp_Trsf::Multiplied (const gp_Trsf& T) const
|
||||
return Tresult;
|
||||
}
|
||||
|
||||
inline gp_Trsf gp_Trsf::Powered (const Standard_Integer N)
|
||||
inline gp_Trsf gp_Trsf::Powered (const Standard_Integer N) const
|
||||
{
|
||||
gp_Trsf T = *this;
|
||||
T.Power (N);
|
||||
|
Reference in New Issue
Block a user