From 73ba9631e17082f6ee3d15780fb3522d28271743 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 24 Oct 2016 01:50:04 +0100 Subject: Move includes into header --- icespider/compile/routeCompiler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/icespider/compile/routeCompiler.cpp b/icespider/compile/routeCompiler.cpp index d8f7f35..0d9be5f 100644 --- a/icespider/compile/routeCompiler.cpp +++ b/icespider/compile/routeCompiler.cpp @@ -283,17 +283,17 @@ namespace IceSpider { fprintf(outputh, "#include \n"); fprintf(outputh, "#include \n"); - fprintf(output, "\n// Interface headers.\n"); + fprintf(outputh, "\n// Interface headers.\n"); for (const auto & s : c->slices) { boost::filesystem::path slicePath(s); slicePath.replace_extension(".h"); - fprintbf(output, "#include <%s>\n", slicePath.string()); + fprintbf(outputh, "#include <%s>\n", slicePath.string()); } if (!c->headers.empty()) { - fprintf(output, "\n// Extra headers.\n"); + fprintf(outputh, "\n// Extra headers.\n"); for (const auto & h : c->headers) { - fprintbf(output, "#include <%s>\n", h); + fprintbf(outputh, "#include <%s>\n", h); } } -- cgit v1.2.3