Clean-up: use const reference where possible
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.cpp
index aaab0a3b2512d4a517d584127a5bafc8f513696b..b9091424bb274b6b80a837ee519b7bf0e8dd6689 100644 (file)
@@ -19,7 +19,6 @@
 #include "lttng-ust-ctl.hpp"
 #include "lttng-ust-error.hpp"
 #include "notification-thread-commands.hpp"
-#include "rotate.hpp"
 #include "session.hpp"
 #include "ust-app.hpp"
 #include "ust-consumer.hpp"
@@ -6613,7 +6612,7 @@ static int handle_app_register_channel_notification(int sock,
                                goto reply;
                        }
                }
-       } catch (std::exception& ex) {
+       } catch (const std::exception& ex) {
                ERR("Failed to handle application context: %s", ex.what());
                ret_code = -EINVAL;
                goto reply;
This page took 0.024717 seconds and 4 git commands to generate.