Skip to content

Commit e4cb206

Browse files
committed
Avoid spaces at end of generated lines.
1 parent 04e2c1b commit e4cb206

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

generator/shellheadergenerator.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c
171171
}
172172
writeInjectedCode(s, meta_class, TypeSystem::PyShellDeclaration);
173173
writeInjectedCode(s, meta_class, TypeSystem::PyInheritShellDeclaration, true);
174-
s << " PythonQtInstanceWrapper* _wrapper; " << endl;
174+
s << " PythonQtInstanceWrapper* _wrapper;" << endl;
175175

176176
s << "};" << endl << endl;
177177
}
@@ -355,8 +355,7 @@ void ShellHeaderGenerator::write(QTextStream &s, const AbstractMetaClass *meta_c
355355
}
356356
}
357357
if (meta_class->hasPublicDestructor() && !meta_class->isNamespace()) {
358-
s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; } ";
359-
s << endl;
358+
s << "void delete_" << meta_class->name() << "(" << meta_class->qualifiedCppName() << "* obj) { delete obj; }" << endl;
360359
}
361360

362361
AbstractMetaFunctionList functions = getFunctionsToWrap(meta_class);

0 commit comments

Comments
 (0)