mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024512: clang++ compiler complains about extra semicolon
Clang++ compiler emits warnings like these ones when parsing superfluous semicolons: .../src/OSD/OSD_MAllocHook.cxx:49:2: warning: extra ';' outside of a function is a C++11 extension [-Wc++11-extra-semi] .../src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx:317:30: warning: extra ';' after member function definition [-Wextra-semi]
This commit is contained in:
@@ -118,21 +118,21 @@ public:
|
||||
Element_t a() const { return v[3]; }
|
||||
|
||||
//! @return 2 of XYZW components in specified order as vector in GLSL-style
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, y);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(z, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, y)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, z)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, w)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, z)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, w)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(z, w)
|
||||
|
||||
//! @return 3 of XYZW components in specified order as vector in GLSL-style
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, z, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(y, z, w);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, z)
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, w)
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, z, w)
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(y, z, w)
|
||||
|
||||
//! @return RGB components as vector
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(r, g, b);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(r, g, b)
|
||||
|
||||
//! Alias to 1st component as X coordinate in XYZW.
|
||||
Element_t& x() { return v[0]; }
|
||||
|
Reference in New Issue
Block a user