X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fstream-class.hpp;h=08555f3071e55362f1ce4f20fae3d4ca7ab59a12;hb=65cd3c0cfa205aa6f67ff974f561882d5eafdd89;hp=636d0b136690ed82dd9ef2edf987be90fb66bbd7;hpb=efc2642c22639e9af4bd01953bfd4453f6218f61;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/stream-class.hpp b/src/bin/lttng-sessiond/stream-class.hpp index 636d0b136..08555f307 100644 --- a/src/bin/lttng-sessiond/stream-class.hpp +++ b/src/bin/lttng-sessiond/stream-class.hpp @@ -32,7 +32,12 @@ public: virtual const lttng::sessiond::trace::type& get_context() const; const unsigned int id; - const header_type header_type; + /* + * header_type is suffixed with '_' to work-around a bug in older + * GCCs (before 6) that do not recognize hidden/shadowed enumeration as valid + * nested-name-specifiers. + */ + const header_type header_type_; protected: stream_class(unsigned int id, enum header_type header_type);