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;
} /* 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> {
- template <typename FormatCtx>
- typename FormatCtx::iterator format(
- const lttng::sessiond::ust::registry_event& event, FormatCtx& ctx)
+ template <typename FormatContextType>
+ 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 = {} }}",