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:
@@ -54,7 +54,7 @@ class LDOM_SBuffer : public streambuf
|
||||
// Caller of this function is responsible
|
||||
// for memory release after the string usage.
|
||||
|
||||
Standard_Integer Length () const {return myLength;};
|
||||
Standard_Integer Length () const {return myLength;}
|
||||
// Returns full length of data contained
|
||||
|
||||
Standard_EXPORT void Clear ();
|
||||
@@ -86,11 +86,11 @@ class LDOM_OSStream : public Standard_OStream
|
||||
Standard_EXPORT LDOM_OSStream (const Standard_Integer theMaxBuf);
|
||||
// Constructor
|
||||
|
||||
Standard_CString str () const {return myBuffer.str();};
|
||||
Standard_CString str () const {return myBuffer.str();}
|
||||
|
||||
Standard_Integer Length () const {return myBuffer.Length();};
|
||||
Standard_Integer Length () const {return myBuffer.Length();}
|
||||
|
||||
void Clear () { myBuffer.Clear(); };
|
||||
void Clear () { myBuffer.Clear(); }
|
||||
|
||||
private:
|
||||
LDOM_SBuffer myBuffer;
|
||||
|
Reference in New Issue
Block a user