Skip to content
Permalink
Browse files

Fix gcc8 catch-value "catch expection by value" warnings

  • Loading branch information
nyalldawson committed Apr 26, 2018
1 parent e811c54 commit 48f2217ddf6c9e131bffbc0fb90b69911352e751
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/pal/pal.cpp
  2. +1 −1 src/core/pal/problem.cpp
@@ -468,7 +468,7 @@ QList<LabelPosition *> Pal::solveProblem( Problem *prob, bool displayAll )
else
prob->popmusic();
}
catch ( InternalException::Empty )
catch ( InternalException::Empty & )
{
return QList<LabelPosition *>();
}
@@ -290,7 +290,7 @@ void Problem::init_sol_falp()
{
list->insert( label, mLabelPositions.at( label )->getNumOverlaps() );
}
catch ( pal::InternalException::Full )
catch ( pal::InternalException::Full & )
{
continue;
}

0 comments on commit 48f2217

Please sign in to comment.
You can’t perform that action at this time.