Add support for multiple namespace entities with the same name

This commit is contained in:
Jonathan Müller 2017-03-22 12:09:13 +01:00
commit d21d017d8a
13 changed files with 207 additions and 203 deletions

View file

@ -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
{