abouttreesummaryrefslogcommitdiff
path: root/src/toc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/toc.h')
-rw-r--r--src/toc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/toc.h b/src/toc.h
index 254abf2..c31e12b 100644
--- a/src/toc.h
+++ b/src/toc.h
@@ -305,7 +305,9 @@ void tocFunction (std::ostream & out, const Function & f, bool stub)
currentInstantiation[f.genericTypeNames[i]] = instantiation[i];
}
- out << f.returnType << " " << generateModifiers(namespacePrefix() + f.name, f.returnType.modifiers) << genericAppendix(instantiation) << " (" << vectorStr(f.parameters, ", ") << ")";
+ out << f.returnType << " " <<
+ generateModifiers(namespacePrefix() + f.name + genericAppendix(instantiation), f.returnType.modifiers) <<
+ " (" << vectorStr(f.parameters, ", ") << ")";
if (stub)
{