1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
abv aa00364da7 0026377: Passing Handle objects as arguments to functions as non-const reference to base type is dangerous
Operator of cast to non-const reference is declared deprecated to produce compiler warning if used (usually implicitly).

OCCT code is updated to avoid that cast, occurring when function accepting non-const reference to handle is called with handle to derived type.
For that, local variable of argument type is passed instead, and down-cast is used to get it to desired type after the call.
A few occurrences of use of uninitialized variable are corrected.
2016-02-20 10:10:11 +03:00
..
A4
2015-10-29 13:57:11 +03:00
A9
2015-10-29 13:57:11 +03:00
B3
2015-10-29 13:57:11 +03:00
B8
2015-10-29 13:57:11 +03:00
C3
2015-10-29 13:57:11 +03:00
D1
2015-10-29 13:57:11 +03:00
E1
2015-10-29 13:57:11 +03:00
E3
2015-10-29 13:57:11 +03:00
E4
2015-10-29 13:57:11 +03:00
E6
2015-10-29 13:57:11 +03:00
E7
2015-10-29 13:57:11 +03:00
F3
2015-10-29 13:57:11 +03:00
F4
2015-10-29 13:57:11 +03:00
F5
2015-10-29 13:57:11 +03:00
G1
2015-10-29 13:57:11 +03:00
G8
2015-10-29 13:57:11 +03:00
I3
2015-10-29 13:57:11 +03:00
I4
2015-10-29 13:57:11 +03:00
I5
2015-10-29 13:57:11 +03:00
I8
2015-10-29 13:57:11 +03:00
I9
2015-10-29 13:57:11 +03:00