diff options
-rw-r--r-- | slicer/tool/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slicer/tool/parser.cpp b/slicer/tool/parser.cpp index a8d8a00..6ede17e 100644 --- a/slicer/tool/parser.cpp +++ b/slicer/tool/parser.cpp @@ -98,8 +98,8 @@ namespace Slicer { if (!cpp) { return true; } fprintbf(cpp, "// Begin Slicer code\n\n"); - fprintbf(cpp, "#include <%s>\n\n", fs::path(topLevelFile.filename()).replace_extension(".h").string()); - fprintbf(cpp, "#include <%s>\n", (headerPrefix / "modelPartsTypes.impl.h").string()); + fprintbf(cpp, "#include <%s>\n\n", (headerPrefix / "modelPartsTypes.impl.h").string()); + fprintbf(cpp, "#include <%s>\n", fs::path(topLevelFile.filename()).replace_extension(".h").string()); for (const auto & m : u->modules()) { for (const auto & i : metaDataValues("slicer:include:", m->getMetaData())) { fprintbf(cpp, "#include <%s>\n", i); |