refactored the constructor to not use a default reference to a static member

This commit is contained in:
Thomas Fischer 2014-03-15 12:26:51 +01:00
parent 835649aa2f
commit 004f04660b

View file

@ -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 )
{
}