Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a compiler warning. #1806

Merged
merged 3 commits into from
Jul 14, 2021
Merged

Fix a compiler warning. #1806

merged 3 commits into from
Jul 14, 2021

Conversation

nksauter
Copy link
Contributor

Catching a polymorphic type by value raises gcc 8.3.0 warning.
Use catch(thing const&) instead.

Catching a polymorphic type by value raises gcc 8.3.0 warning.
Use catch(thing const&) instead.
@nksauter nksauter requested a review from phyy-nx July 13, 2021 21:04
@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #1806 (a652296) into main (4772248) will not change coverage.
The diff coverage is n/a.

❗ Current head a652296 differs from pull request most recent head 964f549. Consider uploading reports for the commit 964f549 to get more accurate results

@@           Coverage Diff           @@
##             main    #1806   +/-   ##
=======================================
  Coverage   67.11%   67.11%           
=======================================
  Files         617      617           
  Lines       69360    69360           
  Branches     9647     9647           
=======================================
  Hits        46549    46549           
  Misses      20867    20867           
  Partials     1944     1944           

@ndevenish ndevenish merged commit a216abb into main Jul 14, 2021
@ndevenish ndevenish deleted the catch_value branch July 14, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants