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
......@@ -2509,7 +2509,7 @@ hpp::floatSeqSeq* RbprmBuilder::generateEffectorBezierArray(unsigned short state
(void)id;
#endif
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, "Error = " << e.what());
}
......
Markdown is supported
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