projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: lttng-destroy: move static symbols to anonymous namespace
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-field-convert.cpp
diff --git
a/src/bin/lttng-sessiond/ust-field-convert.cpp
b/src/bin/lttng-sessiond/ust-field-convert.cpp
index 67fcdf1b21b786e2a90e7a0d10e19835b9d6f68d..10736611cfff317ef6d365a10386975425901fcd 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-field-convert.cpp
+++ b/
src/bin/lttng-sessiond/ust-field-convert.cpp
@@
-15,8
+15,17
@@
namespace lst = lttng::sessiond::trace;
namespace lsu = lttng::sessiond::ust;
namespace lst = lttng::sessiond::trace;
namespace lsu = lttng::sessiond::ust;
-namespace {
+/*
+ * fmtlib helper that must be under the same namespace as lttng_ust_ctl_abstract_types
+ * (global).
+ */
+static int format_as(lttng_ust_ctl_abstract_types type)
+{
+ return fmt::underlying(type);
+}
+
+namespace {
/*
* Type enclosing the session information that may be required during the decoding
* of the lttng_ust_ctl_field array provided by applications on registration of
/*
* Type enclosing the session information that may be required during the decoding
* of the lttng_ust_ctl_field array provided by applications on registration of
@@
-539,7
+548,7
@@
lst::type::cuptr create_sequence_nestable_type_from_ust_ctl_fields(
lst::field_location::elements length_field_location_elements =
current_field_location_elements;
lst::field_location::elements length_field_location_elements =
current_field_location_elements;
- length_field_location_elements.emplace_back(
std::move(length_field_name)
);
+ length_field_location_elements.emplace_back(
length_field_name
);
lst::field_location length_field_location{ lookup_root,
std::move(length_field_location_elements) };
lst::field_location length_field_location{ lookup_root,
std::move(length_field_location_elements) };
@@
-631,7
+640,7
@@
create_typed_variant_choices(const lttng_ust_ctl_field *current,
end,
session_attributes,
next_ust_ctl_field,
end,
session_attributes,
next_ust_ctl_field,
- [&choices, typed_enumeration, &selector_field, quirks](
+ [&choices,
&
typed_enumeration, &selector_field, quirks](
lst::field::uptr field) {
/*
* Find the enumeration mapping that matches the
lst::field::uptr field) {
/*
* Find the enumeration mapping that matches the
This page took
0.022988 seconds
and
4
git commands to generate.