Skip to content

Commit

Permalink
refactored the constructor to not use a default reference to a static…
Browse files Browse the repository at this point in the history
… member
  • Loading branch information
Thomas Fischer committed Mar 15, 2014
1 parent 835649a commit 004f046
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Engine/source/renderInstance/renderPassManager.h
Expand Up @@ -65,12 +65,17 @@ class RenderInstType

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 )
{
}
Expand Down

0 comments on commit 004f046

Please sign in to comment.