mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
TopoSorter: Sort contained types after unique_ptr and shared_ptr
This is the same handling as regular pointers have. I came across a type-cycle with unique_ptrs where this was necessary.
This commit is contained in:
parent
e9975286b2
commit
ececbe0a99
@ -85,6 +85,8 @@ bool containerAllowsIncompleteParams(const Container& c) {
|
||||
switch (c.containerInfo_.ctype) {
|
||||
case SEQ_TYPE:
|
||||
case LIST_TYPE:
|
||||
case UNIQ_PTR_TYPE:
|
||||
case SHRD_PTR_TYPE:
|
||||
// Also std::forward_list, if we ever support that
|
||||
// Would be good to have this as an option in the TOML files
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user