Add support for multiple namespace entities with the same name
This commit is contained in:
parent
08717b2ae7
commit
d21d017d8a
13 changed files with 207 additions and 203 deletions
|
|
@ -130,7 +130,7 @@ namespace cppast
|
|||
if (last_)
|
||||
{
|
||||
auto ptr = intrusive_list_access<T>::set_next(last_.value(), std::move(obj));
|
||||
last_ = *ptr;
|
||||
last_ = type_safe::ref(*ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue