mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -123,16 +123,16 @@ class Standard_EXPORT Message_ExecStatus
|
||||
Standard_Boolean IsAlarm () const { return myAlarm != Message_None; }
|
||||
|
||||
//! Set all statuses of each type
|
||||
void SetAllDone () { myDone = ~0; };
|
||||
void SetAllWarn () { myWarn = ~0; };
|
||||
void SetAllAlarm () { myAlarm = ~0; };
|
||||
void SetAllFail () { myFail = ~0; };
|
||||
void SetAllDone () { myDone = ~0; }
|
||||
void SetAllWarn () { myWarn = ~0; }
|
||||
void SetAllAlarm () { myAlarm = ~0; }
|
||||
void SetAllFail () { myFail = ~0; }
|
||||
|
||||
//! Clear all statuses of each type
|
||||
void ClearAllDone () { myDone = Message_None; };
|
||||
void ClearAllWarn () { myWarn = Message_None; };
|
||||
void ClearAllAlarm() { myAlarm = Message_None; };
|
||||
void ClearAllFail () { myFail = Message_None; };
|
||||
void ClearAllDone () { myDone = Message_None; }
|
||||
void ClearAllWarn () { myWarn = Message_None; }
|
||||
void ClearAllAlarm() { myAlarm = Message_None; }
|
||||
void ClearAllFail () { myFail = Message_None; }
|
||||
|
||||
//! Clear all statuses
|
||||
void Clear ()
|
||||
|
Reference in New Issue
Block a user