1
0
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:
msv
2014-12-25 18:31:11 +03:00
committed by bugmaster
parent 312a4043c2
commit ee6bb37b7f
12 changed files with 135 additions and 251 deletions

View File

@@ -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

View File

@@ -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);