diff --git a/apps/interactive-calibration/main.cpp b/apps/interactive-calibration/main.cpp index 10d3690b89..f3d1e5d66b 100644 --- a/apps/interactive-calibration/main.cpp +++ b/apps/interactive-calibration/main.cpp @@ -217,7 +217,7 @@ int main(int argc, char** argv) (*it)->resetState(); } } - catch (std::runtime_error exp) { + catch (const std::runtime_error& exp) { std::cout << exp.what() << std::endl; }