mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
rest of virtuals removed
virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
parent
efbe5e90f5
commit
2b295fb7f0
454 changed files with 4162 additions and 4156 deletions
|
|
@ -60,7 +60,7 @@ public:
|
|||
parentClass = parent;
|
||||
};
|
||||
|
||||
virtual AbstractClassRep* getContainerChildClass(const bool recurse)
|
||||
AbstractClassRep* getContainerChildClass(const bool recurse) override
|
||||
{
|
||||
// Fetch container children type.
|
||||
AbstractClassRep* pChildren = T::getContainerChildStaticClassRep();
|
||||
|
|
@ -76,7 +76,7 @@ public:
|
|||
return pParent->getContainerChildClass(recurse);
|
||||
}
|
||||
|
||||
virtual WriteCustomTamlSchema getCustomTamlSchema(void)
|
||||
WriteCustomTamlSchema getCustomTamlSchema(void) override
|
||||
{
|
||||
return T::getStaticWriteCustomTamlSchema();
|
||||
}
|
||||
|
|
@ -100,7 +100,7 @@ public:
|
|||
}
|
||||
|
||||
/// Wrap constructor.
|
||||
ConsoleObject *create() const { return new T; }
|
||||
ConsoleObject *create() const override { return new T; }
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ public:
|
|||
/// @name Console Type Interface
|
||||
/// @{
|
||||
|
||||
virtual void setData( void* dptr, S32 argc, const char** argv, const EnumTable* tbl, BitSet32 flag )
|
||||
void setData( void* dptr, S32 argc, const char** argv, const EnumTable* tbl, BitSet32 flag ) override
|
||||
{
|
||||
if( argc == 1 )
|
||||
{
|
||||
|
|
@ -159,14 +159,14 @@ public:
|
|||
Con::errorf( "Cannot set multiple args to a single ConsoleObject*.");
|
||||
}
|
||||
|
||||
virtual const char* getData( void* dptr, const EnumTable* tbl, BitSet32 flag )
|
||||
const char* getData( void* dptr, const EnumTable* tbl, BitSet32 flag ) override
|
||||
{
|
||||
T** obj = ( T** ) dptr;
|
||||
return Con::getReturnBuffer( T::__getObjectId( *obj ) );
|
||||
}
|
||||
|
||||
virtual const char* getTypeClassName() { return mClassName; }
|
||||
virtual const bool isDatablock() { return T::__smIsDatablock; };
|
||||
const char* getTypeClassName() override { return mClassName; }
|
||||
const bool isDatablock() override { return T::__smIsDatablock; };
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue