projects
/
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
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
field.cpp
diff --git
a/src/bin/lttng-sessiond/field.cpp
b/src/bin/lttng-sessiond/field.cpp
index 66087cfae2316b977324a9952b63c1919f55e7d0..df2808841e6c2dfb324a635c0aa85ec1e520fd64 100644
(file)
--- a/
src/bin/lttng-sessiond/field.cpp
+++ b/
src/bin/lttng-sessiond/field.cpp
@@
-74,8
+74,8
@@
lst::integer_type::integer_type(unsigned int in_alignment,
type(in_alignment),
byte_order{in_byte_order},
size{in_size},
type(in_alignment),
byte_order{in_byte_order},
size{in_size},
- signedness{in_signedness},
- base{in_base}
+ signedness
_
{in_signedness},
+ base
_
{in_base}
{
}
{
}
@@
-85,8
+85,8
@@
bool lst::integer_type::_is_equal(const type &base_other) const noexcept
return this->byte_order == other.byte_order &&
this->size == other.size &&
return this->byte_order == other.byte_order &&
this->size == other.size &&
- this->signedness
== other.signedness
&&
- this->base
== other.base
;
+ this->signedness
_ == other.signedness_
&&
+ this->base
_ == other.base_
;
}
void lst::integer_type::accept(type_visitor& visitor) const
}
void lst::integer_type::accept(type_visitor& visitor) const
@@
-219,7
+219,7
@@
void lst::dynamic_length_array_type::accept(type_visitor& visitor) const
}
lst::string_type::string_type(unsigned int in_alignment, enum encoding in_encoding) :
}
lst::string_type::string_type(unsigned int in_alignment, enum encoding in_encoding) :
- type(in_alignment), encoding{in_encoding}
+ type(in_alignment), encoding
_
{in_encoding}
{
}
{
}
@@
-227,7
+227,7
@@
bool lst::string_type::_is_equal(const type& base_other) const noexcept
{
const auto& other = static_cast<decltype(*this)&>(base_other);
{
const auto& other = static_cast<decltype(*this)&>(base_other);
- return this->encoding
== other.encoding
;
+ return this->encoding
_ == other.encoding_
;
}
lst::static_length_string_type::static_length_string_type(
}
lst::static_length_string_type::static_length_string_type(
This page took
0.02369 seconds
and
4
git commands to generate.