diff --git a/modules/device/src/libifm3d_device/discovery.hpp b/modules/device/src/libifm3d_device/discovery.hpp index 0ee9705e..3abc93f4 100644 --- a/modules/device/src/libifm3d_device/discovery.hpp +++ b/modules/device/src/libifm3d_device/discovery.hpp @@ -365,7 +365,7 @@ namespace ifm3d { shared_this->_CheckTimeout(); } - catch (const std::system_error &err) + catch (const std::system_error& err) { if (err.code().category() == asio::system_category() && err.code().value() == asio::error::bad_descriptor) diff --git a/modules/framegrabber/src/libifm3d_framegrabber/frame_grabber_impl.hpp b/modules/framegrabber/src/libifm3d_framegrabber/frame_grabber_impl.hpp index 299849c6..d638f353 100644 --- a/modules/framegrabber/src/libifm3d_framegrabber/frame_grabber_impl.hpp +++ b/modules/framegrabber/src/libifm3d_framegrabber/frame_grabber_impl.hpp @@ -694,7 +694,7 @@ ifm3d::FrameGrabber::Impl::ImageHandler() this->new_frame_callback_(frame); } } - catch (const ifm3d::Error &ex) + catch (const ifm3d::Error& ex) { // We might get empty frames when we requesting only algo debug but // also enable async notifications or async errors, so we just ignore @@ -707,7 +707,7 @@ ifm3d::FrameGrabber::Impl::ImageHandler() LOG_WARNING("Bad image: {}", ex.message()); } } - catch (const std::exception &ex) + catch (const std::exception& ex) { LOG_WARNING("Bad image: {}", ex.what()); }