mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
Compiler warnings eliminated: - VC++: potential use of uninitialized variable - GCC: potential use of uninitialized variable [-Wmaybe-uninitialized], redundant const on return value [-Wignored-qualifiers] - CLang: missing override specifier on overloaded virtual function [-Winconsistent-missing-override], function call within typeid() [-Wpotentially-evaluated-expression]
This commit is contained in:
@@ -104,13 +104,14 @@ public:
|
||||
// ========================================
|
||||
|
||||
//! Returns the ID of the attribute.
|
||||
Standard_EXPORT const Standard_GUID& ID() const;
|
||||
Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE;
|
||||
|
||||
//! Undos (and redos) the attribute.
|
||||
Standard_EXPORT virtual void Restore (const Handle(TDF_Attribute)& with);
|
||||
Standard_EXPORT virtual void Restore (const Handle(TDF_Attribute)& with) Standard_OVERRIDE;
|
||||
|
||||
//! Pastes the attribute to another label.
|
||||
Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& into, const Handle(TDF_RelocationTable)& RT) const;
|
||||
Standard_EXPORT virtual void Paste (const Handle(TDF_Attribute)& into,
|
||||
const Handle(TDF_RelocationTable)& RT) const Standard_OVERRIDE;
|
||||
|
||||
//! Returns a new empty instance of the attribute.
|
||||
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
|
||||
|
Reference in New Issue
Block a user