Clean-up: run format-cpp on the tree
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry-event.hpp
index fe325fced2fb4d91b5de03a2fa28adb3606a81b3..38d96eb8fbd179b9a6982bac0377b1ce68cb7d4c 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <common/format.hpp>
 #include <common/hashtable/hashtable.hpp>
+
 #include <vendor/optional.hpp>
 
 #include <typeinfo>
@@ -28,14 +29,14 @@ namespace ust {
 class registry_event : public lttng::sessiond::trace::event_class {
 public:
        registry_event(unsigned int id,
-                       unsigned int stream_class_id,
-                       int session_objd,
-                       int channel_objd,
-                       std::string name,
-                       std::string signature,
-                       std::vector<lttng::sessiond::trace::field::cuptr> fields,
-                       int loglevel_value,
-                       nonstd::optional<std::string> model_emf_uri);
+                      unsigned int stream_class_id,
+                      int session_objd,
+                      int channel_objd,
+                      std::string name,
+                      std::string signature,
+                      std::vector<lttng::sessiond::trace::field::cuptr> fields,
+                      int loglevel_value,
+                      nonstd::optional<std::string> model_emf_uri);
        ~registry_event() override = default;
        registry_event(const registry_event&) = delete;
        registry_event(registry_event&&) = delete;
@@ -75,13 +76,17 @@ namespace fmt {
 template <>
 struct formatter<lttng::sessiond::ust::registry_event> : formatter<std::string> {
        template <typename FormatContextType>
-       typename FormatContextType::iterator format(
-                       const lttng::sessiond::ust::registry_event& event, FormatContextType& ctx)
+       typename FormatContextType::iterator
+       format(const lttng::sessiond::ust::registry_event& event, FormatContextType& ctx)
        {
-               return format_to(ctx.out(),
-                               "{{ name = `{}`, signature = `{}`, id = {}, session objd = {}, channel objd = {} }}",
-                               event.name, event.signature, event.id, event.session_objd,
-                               event.channel_objd);
+               return format_to(
+                       ctx.out(),
+                       "{{ name = `{}`, signature = `{}`, id = {}, session objd = {}, channel objd = {} }}",
+                       event.name,
+                       event.signature,
+                       event.id,
+                       event.session_objd,
+                       event.channel_objd);
        }
 };
 } /* namespace fmt */
This page took 0.024703 seconds and 4 git commands to generate.