Skip to content

Commit

Permalink
use copy constructor for metadata creation
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Sep 17, 2012
1 parent 22b36ea commit d4edf3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StageBase.cpp
Expand Up @@ -164,8 +164,7 @@ Metadata StageBase::getMetadata() const

Metadata StageBase::collectMetadata() const
{
Metadata output;
output = output + m_metadata;
Metadata output(m_metadata);

try
{
Expand Down

0 comments on commit d4edf3e

Please sign in to comment.