projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ini parser: truncation of value name
[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 5a0c584f22813197ac9a7e3686aee29e6536fa75..2d7f9deaca9c89b9f7916ace43407272fbc83918 100644
(file)
--- a/
src/bin/lttng-sessiond/field.cpp
+++ b/
src/bin/lttng-sessiond/field.cpp
@@
-15,8
+15,8
@@
namespace lst = lttng::sessiond::trace;
namespace {
namespace lst = lttng::sessiond::trace;
namespace {
-template <class FieldType
Set
>
-bool fields_are_equal(const FieldType
Set& a, const FieldTypeSet
& b)
+template <class FieldType
ContainerType
>
+bool fields_are_equal(const FieldType
ContainerType& a, const FieldTypeContainerType
& b)
{
if (a.size() != b.size()) {
return false;
{
if (a.size() != b.size()) {
return false;
@@
-25,8
+25,8
@@
bool fields_are_equal(const FieldTypeSet& a, const FieldTypeSet& b)
return std::equal(a.cbegin(),
a.cend(),
b.cbegin(),
return std::equal(a.cbegin(),
a.cend(),
b.cbegin(),
- [](typename FieldType
Set
::const_reference field_a,
- typename FieldType
Set
::const_reference field_b) {
+ [](typename FieldType
ContainerType
::const_reference field_a,
+ typename FieldType
ContainerType
::const_reference field_b) {
return *field_a == *field_b;
});
}
return *field_a == *field_b;
});
}
@@
-47,9
+47,7
@@
lst::type::type(unsigned int in_alignment) : alignment{ in_alignment }
{
}
{
}
-lst::type::~type()
-{
-}
+lst::type::~type() = default;
bool lst::type::operator==(const lst::type& other) const noexcept
{
bool lst::type::operator==(const lst::type& other) const noexcept
{
This page took
0.024135 seconds
and
4
git commands to generate.