cppparser: fix formatting of typecast operator

This commit is contained in:
rdb 2018-08-19 16:04:56 +02:00
parent b1d2111037
commit 5da8b63a66

View File

@ -292,6 +292,10 @@ output_instance(ostream &out, int indent_level, CPPScope *scope,
out << str;
} else if (_flags & F_operator_typecast) {
out << "operator ";
_return_type->output_instance(out, indent_level, scope, complete, "", prename + str);
} else {
if (prename.empty()) {
_return_type->output_instance(out, indent_level, scope, complete,