Fix #include <new> generating trailing semicolon

This commit is contained in:
J. Nick Koston
2026-02-18 12:42:52 -06:00
parent 103c234196
commit f7f48abdf0

View File

@@ -513,7 +513,7 @@ async def to_code(config: ConfigType) -> None:
cg.add_global(cg.RawExpression("using std::max"))
# Construct App via placement new — see application.cpp for storage details
cg.add_global(cg.RawExpression("#include <new>"))
cg.add_global(cg.RawStatement("#include <new>"))
cg.add(cg.RawExpression("new (&App) Application()"))
cg.add(
cg.App.pre_setup(