X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.hpp;h=c48e2b9e25b97f95e745b4cbd47d667583c0eb26;hb=11bcbf894cf92b99a2d885cad117db6811f164cb;hp=0db462e7d7fe22d8eb8194c1418e2ca7ab8541e4;hpb=e2c2bec23d72b09ef5778dff54fa6ca4a34587bf;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.hpp b/src/bin/lttng-sessiond/ust-app.hpp index 0db462e7d..c48e2b9e2 100644 --- a/src/bin/lttng-sessiond/ust-app.hpp +++ b/src/bin/lttng-sessiond/ust-app.hpp @@ -326,6 +326,10 @@ struct ust_app { struct lttng_ht *token_to_event_notifier_rule_ht; }; +/* + * 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 : formatter {