mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +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:
|
public:
|
||||||
|
|
||||||
RenderInstType( const RenderInstType &type = Invalid )
|
RenderInstType()
|
||||||
|
: mName( Invalid.mName )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
RenderInstType( const RenderInstType &type )
|
||||||
: mName( type.mName )
|
: mName( type.mName )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
RenderInstType( const String &name )
|
RenderInstType( const String &name )
|
||||||
: mName( name )
|
: mName( name )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue