mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
refactored the constructor to not use a default reference to a static member
This commit is contained in:
parent
835649aa2f
commit
004f04660b
1 changed files with 7 additions and 2 deletions
|
|
@ -65,12 +65,17 @@ protected:
|
|||
|
||||
public:
|
||||
|
||||
RenderInstType( const RenderInstType &type = Invalid )
|
||||
RenderInstType()
|
||||
: mName( Invalid.mName )
|
||||
{
|
||||
}
|
||||
|
||||
RenderInstType( const RenderInstType &type )
|
||||
: mName( type.mName )
|
||||
{
|
||||
}
|
||||
|
||||
RenderInstType( const String &name )
|
||||
RenderInstType( const String &name )
|
||||
: mName( name )
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue