mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-24 13:50:49 +03:00
0027105: Make code ISO-compliant [-Wpedantic fixes]
Remove extra semicolons and correct function prototypes for GCC -pedantic ISO compliance option
This commit is contained in:
@@ -60,8 +60,8 @@ namespace
|
||||
Standard_Real aLogRadix = Log10 (anAbsValue) / Log10 (FLT_RADIX);
|
||||
Standard_Real aExp = Floor (aLogRadix);
|
||||
return FLT_EPSILON * Pow (FLT_RADIX, aExp);
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : Graphic3d_Camera
|
||||
|
@@ -637,7 +637,7 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient);
|
||||
DEFINE_STANDARD_RTTIEXT(Graphic3d_Camera,Standard_Transient)
|
||||
};
|
||||
|
||||
DEFINE_STANDARD_HANDLE (Graphic3d_Camera, Standard_Transient)
|
||||
|
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
|
||||
namespace
|
||||
{
|
||||
static volatile Standard_Integer THE_CLIP_PLANE_COUNTER = 0;
|
||||
};
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : Graphic3d_ClipPlane
|
||||
|
@@ -218,7 +218,7 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient);
|
||||
DEFINE_STANDARD_RTTIEXT(Graphic3d_ClipPlane,Standard_Transient)
|
||||
};
|
||||
|
||||
DEFINE_STANDARD_HANDLE (Graphic3d_ClipPlane, Standard_Transient)
|
||||
|
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_MarkerImage,Standard_Transient)
|
||||
namespace
|
||||
{
|
||||
static volatile Standard_Integer THE_MARKER_IMAGE_COUNTER = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// =======================================================================
|
||||
|
@@ -24,7 +24,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderObject,Standard_Transient)
|
||||
namespace
|
||||
{
|
||||
static volatile Standard_Integer THE_SHADER_OBJECT_COUNTER = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// =======================================================================
|
||||
|
@@ -29,7 +29,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_ShaderProgram,Standard_Transient)
|
||||
namespace
|
||||
{
|
||||
static volatile Standard_Integer THE_PROGRAM_OBJECT_COUNTER = 0;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// =======================================================================
|
||||
|
@@ -33,7 +33,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Graphic3d_TextureRoot,MMgt_TShared)
|
||||
namespace
|
||||
{
|
||||
static volatile Standard_Integer THE_TEXTURE_COUNTER = 0;
|
||||
};
|
||||
}
|
||||
|
||||
// =======================================================================
|
||||
// function : TexturesFolder
|
||||
|
Reference in New Issue
Block a user