feat(util/log_tree): inherit description
This commit is contained in:
parent
c55579dd69
commit
fdd80c12dd
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ log_tree::node log_tree::node::mk_child(name n, std::string const & description,
|
|||
child.m_ptr->m_detached = m_ptr->m_detached;
|
||||
}
|
||||
child.m_ptr->m_detail_level = std::max(m_ptr->m_detail_level, lvl);
|
||||
child.m_ptr->m_description = description;
|
||||
child.m_ptr->m_description = description.empty() ? m_ptr->m_description : description;
|
||||
child.m_ptr->m_location = loc;
|
||||
m_ptr->m_children.insert(n, child);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue