Skip to content

Commit efb1d3a

Browse files
committed
Fix catch-value=
1 parent fc73e36 commit efb1d3a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ed_sensor_integration/tools/fitter_viz_data.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
4646
{
4747
world_model = ed::loadWorldModel(model_name);
4848
}
49-
catch (ed::ModelNotFoundException e)
49+
catch (const ed::ModelNotFoundException& e)
5050
{
5151
std::cerr << "World model '" << model_name << "' could not be loaded." << std::endl;
5252
std::cerr << e.what() << std::endl;

ed_sensor_integration/tools/fitter_viz_live.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
4646
{
4747
world_model = ed::loadWorldModel(model_name);
4848
}
49-
catch (ed::ModelNotFoundException e)
49+
catch (const ed::ModelNotFoundException& e)
5050
{
5151
std::cerr << "World model '" << model_name << "' could not be loaded." << std::endl;
5252
std::cerr << e.what() << std::endl;

ed_sensor_integration/tools/segmenter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ int main(int argc, char **argv)
116116
{
117117
world_model = ed::loadWorldModel(model_name);
118118
}
119-
catch (ed::ModelNotFoundException e)
119+
catch (const ed::ModelNotFoundException& e)
120120
{
121121
std::cerr << "World model '" << model_name << "' could not be loaded." << std::endl;
122122
std::cerr << e.what() << std::endl;

0 commit comments

Comments
 (0)