diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-10-24 01:50:04 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-10-24 01:55:34 +0100 | 
| commit | 73ba9631e17082f6ee3d15780fb3522d28271743 (patch) | |
| tree | 4a8629990bec6385d2dd3e69559e3c699b26fb42 | |
| parent | Refactor route processor into smaller functions (diff) | |
| download | icespider-73ba9631e17082f6ee3d15780fb3522d28271743.tar.bz2 icespider-73ba9631e17082f6ee3d15780fb3522d28271743.tar.xz icespider-73ba9631e17082f6ee3d15780fb3522d28271743.zip | |
Move includes into header
| -rw-r--r-- | icespider/compile/routeCompiler.cpp | 8 | 
1 files 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 <core.h>\n");  			fprintf(outputh, "#include <slicer/serializer.h>\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);  				}  			} | 
