Fixed template instantiations class field generation

This commit is contained in:
Bartek Kryza
2021-08-29 22:24:47 +02:00
parent ab4da6c87c
commit e60fbab059
2 changed files with 2 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ std::string full_name(const cppast::cpp_type &t,
{
std::string t_ns;
if (!inside_class)
t_ns = ns(t, idx);
t_ns = ns(cppast::remove_cv(unreferenced(t)), idx);
auto t_name = cppast::to_string(t);