Skip to content

Commit

Permalink
Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 9, 2024
2 parents 9db1276 + 39c0db8 commit 22537c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/category.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,13 +508,14 @@ category::category(std::string_view name)
category::category(const category &rhs)
: m_name(rhs.m_name)
, m_columns(rhs.m_columns)
, m_validator(rhs.m_validator)
, m_cat_validator(rhs.m_cat_validator)
, m_cascade(rhs.m_cascade)
{
for (auto r = rhs.m_head; r != nullptr; r = r->m_next)
insert_impl(end(), clone_row(*r));

m_validator = rhs.m_validator;
m_cat_validator = rhs.m_cat_validator;

if (m_cat_validator != nullptr and m_index == nullptr)
m_index = new category_index(*this);
}
Expand Down

0 comments on commit 22537c0

Please sign in to comment.