mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 20:27:52 +08:00
Coding - Fix GCC warnings (#975)
- Removed unnecessary reference qualifiers (`&`) from `gp_Dir` variable declarations in geometric evaluation classes - Initialized previously uninitialized variables (`DuvBuf`, `anFDOpenMode`) to prevent undefined behavior - Removed redundant `Standard_EXPORT` from deleted copy constructors - Added explicit base class initialization in `EnumeratedThread` copy constructor - Replaced C-style cast with `reinterpret_cast` in `Quantity_ColorRGBA` for type safety
This commit is contained in:
@@ -128,7 +128,7 @@ IntImp_ConstIsoparametric IntImp_Int2S::Perform(const NCollection_Array1<double>
|
||||
gp_Vec DPUV[4];
|
||||
gp_Pnt P1, P2;
|
||||
double Epsuv[4];
|
||||
double DuvBuf[4];
|
||||
double DuvBuf[4] = {};
|
||||
NCollection_Array1<double> Duv(DuvBuf[0], 1, 4);
|
||||
double UVd[4], UVf[4];
|
||||
IntImp_ConstIsoparametric ChoixIso[4];
|
||||
|
||||
@@ -184,7 +184,7 @@ public:
|
||||
Standard_EXPORT void Destroy();
|
||||
|
||||
private:
|
||||
Standard_EXPORT BRepClass3d_SolidExplorer(const BRepClass3d_SolidExplorer& Oth) = delete;
|
||||
BRepClass3d_SolidExplorer(const BRepClass3d_SolidExplorer& Oth) = delete;
|
||||
|
||||
protected:
|
||||
Standard_EXPORT TopAbs_State ClassifyUVPoint(const IntCurvesFace_Intersector& theIntersector,
|
||||
|
||||
Reference in New Issue
Block a user