mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -105,12 +105,12 @@ public:
|
||||
Element_t b() const { return v[2]; }
|
||||
|
||||
//! @return 2 components by their names in specified order (in GLSL-style)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, y);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, y)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(x, z)
|
||||
NCOLLECTION_VEC_COMPONENTS_2D(y, z)
|
||||
|
||||
//! @return 3 components by their names in specified order (in GLSL-style)
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, z);
|
||||
NCOLLECTION_VEC_COMPONENTS_3D(x, y, z)
|
||||
|
||||
//! Alias to 1st component as X coordinate in XYZ.
|
||||
Element_t& x() { return v[0]; }
|
||||
|
Reference in New Issue
Block a user