lttng::sessiond::trace::trace_class::trace_class(const struct abi& in_abi,
const lttng_uuid& in_trace_uuid) :
- abi{ in_abi }, uuid{ in_trace_uuid }
+ abi(in_abi), uuid(in_trace_uuid)
{
}
variant_tsdl_keyword_sanitizer(tsdl::details::type_overrider& type_overrides,
type_lookup_function lookup_type) :
- _type_overrides{ type_overrides }, _lookup_type(std::move(lookup_type))
+ _type_overrides(type_overrides), _lookup_type(std::move(lookup_type))
{
}
const tsdl::details::type_overrider& type_overrides,
const nonstd::optional<std::string>& in_default_clock_class_name =
nonstd::nullopt) :
- _indentation_level{ indentation_level },
- _trace_abi{ abi },
+ _indentation_level(indentation_level),
+ _trace_abi(abi),
- _default_clock_class_name{ in_default_clock_class_name ?
+ _default_clock_class_name(in_default_clock_class_name ?
in_default_clock_class_name->c_str() :
- nullptr },
- _type_overrides{ type_overrides }
+ nullptr),
+ _type_overrides(type_overrides)
{
}
tsdl::trace_class_visitor::trace_class_visitor(
const lst::abi& trace_abi,
tsdl::append_metadata_fragment_function append_metadata_fragment) :
- _trace_abi{ trace_abi }, _append_metadata_fragment(std::move(append_metadata_fragment))
+ _trace_abi(trace_abi), _append_metadata_fragment(std::move(append_metadata_fragment))
{
}
*/
class mutex {
public:
- explicit mutex(pthread_mutex_t& mutex_p) : _mutex{ mutex_p }
+ explicit mutex(pthread_mutex_t& mutex_p) : _mutex(mutex_p)
{
}
*/
class lock_guard {
public:
- explicit lock_guard(pthread_mutex_t& mutex) : _mutex{ mutex }, _guard(_mutex)
+ explicit lock_guard(pthread_mutex_t& mutex) : _mutex(mutex), _guard(_mutex)
{
}