mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024252: GCC warnings on breakage of strict-aliasing rules
Fixed type casts in NCollection maps Avoid invalid type cast in handling of LDOM text object Use correct pointer type in callback function of Graphic3d_CGraduatedTrihedron class Format of printf() simplified in IntPatch_Point.cxx
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <OpenGl_Text.hxx>
|
||||
#include <Graphic3d_CGraduatedTrihedron.hxx>
|
||||
|
||||
class Visual3d_View;
|
||||
class OpenGl_View;
|
||||
|
||||
class OpenGl_GraduatedTrihedron : public OpenGl_Element
|
||||
@@ -73,8 +74,8 @@ protected:
|
||||
TEL_COLOUR myXColor;
|
||||
TEL_COLOUR myYColor;
|
||||
TEL_COLOUR myZColor;
|
||||
minMaxValuesCallback myCbCubicAxes;
|
||||
void* myPtrVisual3dView;
|
||||
Graphic3d_CGraduatedTrihedron::minMaxValuesCallback myCbCubicAxes;
|
||||
Visual3d_View* myPtrVisual3dView;
|
||||
|
||||
public:
|
||||
|
||||
|
Reference in New Issue
Block a user