mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]
This commit is contained in:
@@ -43,7 +43,7 @@ class TObj_TModel : public TDF_Attribute
|
||||
static Standard_EXPORT const Standard_GUID& GetID();
|
||||
|
||||
//! Returns the ID of TObj_TModel attribute.
|
||||
Standard_EXPORT const Standard_GUID& ID() const;
|
||||
Standard_EXPORT const Standard_GUID& ID() const Standard_OVERRIDE;
|
||||
|
||||
public:
|
||||
//! Methods for setting and obtaining the Model object
|
||||
@@ -59,16 +59,16 @@ class TObj_TModel : public TDF_Attribute
|
||||
|
||||
//! Returns an new empty TObj_TModel attribute. It is used by the
|
||||
//! copy algorithm.
|
||||
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const;
|
||||
Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
|
||||
|
||||
//! Restores the backuped contents from <theWith> into this one. It is used
|
||||
//! when aborting a transaction.
|
||||
Standard_EXPORT void Restore (const Handle(TDF_Attribute)& theWith);
|
||||
Standard_EXPORT void Restore (const Handle(TDF_Attribute)& theWith) Standard_OVERRIDE;
|
||||
|
||||
//! This method is used when copying an attribute from a source structure
|
||||
//! into a target structure.
|
||||
Standard_EXPORT void Paste (const Handle(TDF_Attribute)& theInto,
|
||||
const Handle(TDF_RelocationTable)& theRT) const;
|
||||
const Handle(TDF_RelocationTable)& theRT) const Standard_OVERRIDE;
|
||||
|
||||
private:
|
||||
//! Fields
|
||||
|
Reference in New Issue
Block a user