Commit a10f1b13 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Catch const std::runtime_error& instead of std::runtime_error

  to make the compiler happy.
parent 853fcacb
Pipeline #14503 failed with stage
in 1 minute and 12 seconds
...@@ -2509,7 +2509,7 @@ hpp::floatSeqSeq* RbprmBuilder::generateEffectorBezierArray(unsigned short state ...@@ -2509,7 +2509,7 @@ hpp::floatSeqSeq* RbprmBuilder::generateEffectorBezierArray(unsigned short state
(void)id; (void)id;
#endif #endif
hppDout(notice, "Add com-rrt path at index : " << id); hppDout(notice, "Add com-rrt path at index : " << id);
} catch (std::runtime_error e) { } catch (const std::runtime_error& e) {
hppDout(notice, "In generateEffectorBezierArray : comRRT failed. "); hppDout(notice, "In generateEffectorBezierArray : comRRT failed. ");
hppDout(notice, "Error = " << e.what()); hppDout(notice, "Error = " << e.what());
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment