Skip to content

Catch polymorphic exceptions by reference - #871

Merged
mjeronimo merged 1 commit into
ros-navigation:masterfrom
cottsay:Werror-catch-value
Jun 20, 2019
Merged

mjeronimo merged 1 commit into
ros-navigation:masterfrom
cottsay:Werror-catch-value

Conversation

@cottsay

@cottsay cottsay commented Jun 19, 2019

Copy link
Copy Markdown
Contributor

Basic Info

Info Please fill out this column
Ticket(s) this addresses N/A
Primary OS tested on Fedora Linux
Robotic platform tested on N/A

Description of contribution in a few bullet points

  • Addresses build errors when -Werror=catch-value= is specified.
  • Tested with: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)

@cottsay cottsay changed the title Catch polymorphic exceptions by value Catch polymorphic exceptions by reference Jun 19, 2019
Addresses build errors when `-Werror=catch-value=` is specified.
@codecov

codecov Bot commented Jun 19, 2019

Copy link
Copy Markdown

Codecov Report

Merging #871 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #871      +/-   ##
==========================================
+ Coverage   20.42%   20.43%   +0.01%     
==========================================
  Files         183      183              
  Lines        9372     9372              
  Branches     2274     2274              
==========================================
+ Hits         1914     1915       +1     
- Misses       6362     6364       +2     
+ Partials     1096     1093       -3
Impacted Files Coverage Δ
src/navigation2/nav2_navfn_planner/src/navfn.cpp 47.47% <0%> (+0.21%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 023cdd5...dcd85ee. Read the comment docs.

@ghost ghost added the 0 - Critical Critical to project, highest priority label Jun 19, 2019
@ghost ghost added this to the D Turtle Release milestone Jun 19, 2019
@ghost
ghost requested review from bpwilcox, mhpanah, mjeronimo, mkhansenbot and orduno June 19, 2019 21:12
@ghost

ghost commented Jun 19, 2019

Copy link
Copy Markdown

@cottsay Thanks for the fixes

@mjeronimo
mjeronimo merged commit a2a631a into ros-navigation:master Jun 20, 2019
@cottsay
cottsay deleted the Werror-catch-value branch June 3, 2020 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 - Critical Critical to project, highest priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants