clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / bin / lttng-sessiond / ust-registry-event.hpp
index 06f24a12050f4942316ba614f5eed2dd390d728d..6b2ebc8434a8428dfea27626713988aba7d4cf85 100644 (file)
@@ -36,7 +36,7 @@ public:
                        std::vector<lttng::sessiond::trace::field::cuptr> fields,
                        int loglevel_value,
                        nonstd::optional<std::string> model_emf_uri);
-       virtual ~registry_event() = default;
+       ~registry_event() override = default;
 
        /* Both objd are set by the tracer. */
        const int session_objd;
@@ -63,6 +63,10 @@ void registry_event_destroy(registry_event *event);
 } /* namespace sessiond */
 } /* namespace lttng */
 
+/*
+ * Due to a bug in g++ < 7.1, this specialization must be enclosed in the fmt namespace,
+ * see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480.
+ */
 namespace fmt {
 template <>
 struct formatter<lttng::sessiond::ust::registry_event> : formatter<std::string> {
This page took 0.023969 seconds and 4 git commands to generate.