cppparser: fix formatting of typecast operator
This commit is contained in:
parent
b1d2111037
commit
5da8b63a66
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue