[new_session]() {
session_get(new_session);
new_session->lock();
- return ltt_session::locked_ref(*new_session);
+ return ltt_session::make_locked_ref(*new_session);
}(),
[](const ltt_session::locked_ref& session,
void *user_data __attribute__((unused))) {
[new_session]() {
session_get(new_session);
new_session->lock();
- return ltt_session::locked_ref(*new_session);
+ return ltt_session::make_locked_ref(*new_session);
}(),
descriptor);
if (ret_code != LTTNG_OK) {
auto session = [raw_session_ptr]() {
session_get(raw_session_ptr);
raw_session_ptr->lock();
- return ltt_session::locked_ref(*raw_session_ptr);
+ return ltt_session::make_locked_ref(*raw_session_ptr);
}();
/*