File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ void FeaturePose<representation>::display(std::ostream &os) const {
335
335
os << featureNames[i];
336
336
}
337
337
os << " ) " ;
338
- } catch (ExceptionAbstract e) {
338
+ } catch (const ExceptionAbstract& e) {
339
339
os << " selectSIN not set." ;
340
340
}
341
341
}
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ void Feature1D::display(std::ostream &os) const {
93
93
try {
94
94
os << " error= " << errorSIN.accessCopy () << endl
95
95
<< " J = " << jacobianSIN.accessCopy () << endl;
96
- } catch (ExceptionAbstract e) {
96
+ } catch (const ExceptionAbstract & e) {
97
97
os << " All SIN not set." ;
98
98
}
99
99
}
Original file line number Diff line number Diff line change @@ -167,14 +167,14 @@ void FeatureVisualPoint::display(std::ostream &os) const {
167
167
const Flags &fl = selectionSIN.accessCopy ();
168
168
if (fl (0 )) os << " x=" << xy (0 );
169
169
if (fl (1 )) os << " y=" << xy (1 );
170
- } catch (ExceptionAbstract e) {
170
+ } catch (const ExceptionAbstract & e) {
171
171
os << " XY or select not set." ;
172
172
}
173
173
174
174
try {
175
175
const double &z = ZSIN.accessCopy ();
176
176
os << " Z=" << z << " " ;
177
- } catch (ExceptionAbstract e) {
177
+ } catch (const ExceptionAbstract & e) {
178
178
os << " Z not set." ;
179
179
}
180
180
}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ void GainHyperbolic::display(std::ostream &os) const {
83
83
os << " Gain Hyperbolic " << getName ();
84
84
try {
85
85
os << " = " << double (gainSOUT.accessCopy ());
86
- } catch (ExceptionSignal e) {
86
+ } catch (const ExceptionSignal & e) {
87
87
}
88
88
// os <<" ("<<coeff_a<<";"<<coeff_b<<";"<<coeff_c<<coeff_d<<") ";
89
89
os << " (" << coeff_a << " .exp(-" << coeff_b << " (x-" << coeff_d << " ))+"
You can’t perform that action at this time.
0 commit comments