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
/
consumer.hpp
diff --git
a/src/bin/lttng-sessiond/consumer.hpp
b/src/bin/lttng-sessiond/consumer.hpp
index d76ec025f85d6773a31747b8092d562932897e6a..6851edbf6c8e5dbd82c09b44f8f6ee296780f049 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.hpp
+++ b/
src/bin/lttng-sessiond/consumer.hpp
@@
-27,8
+27,8
@@
struct ltt_session;
* C++.
*/
static_assert(__cplusplus == 201103L, "");
* C++.
*/
static_assert(__cplusplus == 201103L, "");
-template <typename
T
>
-constexpr
T max_constexpr(T l, T
r)
+template <typename
NumericalType
>
+constexpr
NumericalType max_constexpr(NumericalType l, NumericalType
r)
{
return l > r ? l : r;
}
{
return l > r ? l : r;
}
@@
-75,7
+75,7
@@
struct consumer_socket {
};
struct consumer_data {
};
struct consumer_data {
- consumer_data (lttng_consumer_type type_)
+
explicit
consumer_data (lttng_consumer_type type_)
: type(type_)
{}
: type(type_)
{}
This page took
0.02342 seconds
and
4
git commands to generate.