Fixed method result type generation

This commit is contained in:
Bartek Kryza
2021-03-18 21:02:33 +01:00
parent 3c0e9d51d2
commit d55e57eb05
3 changed files with 12 additions and 4 deletions

View File

@@ -130,7 +130,8 @@ public:
if (m.type != "void")
type = m.type + " ";
ostr << to_string(m.scope) << type << m.name;
ostr << to_string(m.scope)
<< ns_relative(m_config.using_namespace, type) << m.name;
ostr << "(";
if (true) { // TODO: add option to disable parameter generation