summaryrefslogtreecommitdiff
path: root/shared/cplusplus/PrettyPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/cplusplus/PrettyPrinter.cpp')
-rw-r--r--shared/cplusplus/PrettyPrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/cplusplus/PrettyPrinter.cpp b/shared/cplusplus/PrettyPrinter.cpp
index 891a63020c..d7570127e3 100644
--- a/shared/cplusplus/PrettyPrinter.cpp
+++ b/shared/cplusplus/PrettyPrinter.cpp
@@ -566,9 +566,8 @@ bool PrettyPrinter::visit(FunctionDeclaratorAST *ast)
accept(ast->parameters);
out << ')';
for (SpecifierAST *it = ast->cv_qualifier_seq; it; it = it->next) {
+ out << ' ';
accept(it);
- if (it->next)
- out << ' ';
}
if (ast->exception_specification) {
out << ' ';