projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: old gcc does not recognize hidden/shadowed enumeration as valid
[deliverable/lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
stream-class.hpp
diff --git
a/src/bin/lttng-sessiond/stream-class.hpp
b/src/bin/lttng-sessiond/stream-class.hpp
index 636d0b136690ed82dd9ef2edf987be90fb66bbd7..08555f3071e55362f1ce4f20fae3d4ca7ab59a12 100644
(file)
--- 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;
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);
protected:
stream_class(unsigned int id, enum header_type header_type);
This page took
0.02751 seconds
and
5
git commands to generate.