diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-19 17:48:21 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-19 17:48:21 +0100 | 
| commit | 5a3bdce71e0bffadc4e08cab775b059a6989c41a (patch) | |
| tree | 73ca322e08ec44dda482d5a04a3a70b0283b034f | |
| parent | Pass operation response back to the request (diff) | |
| download | icespider-5a3bdce71e0bffadc4e08cab775b059a6989c41a.tar.bz2 icespider-5a3bdce71e0bffadc4e08cab775b059a6989c41a.tar.xz icespider-5a3bdce71e0bffadc4e08cab775b059a6989c41a.zip | |
Constify route parameter names
| -rw-r--r-- | icespider/compile/routeCompiler.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/icespider/compile/routeCompiler.cpp b/icespider/compile/routeCompiler.cpp index 7e0d9ed..1bf61a7 100644 --- a/icespider/compile/routeCompiler.cpp +++ b/icespider/compile/routeCompiler.cpp @@ -239,7 +239,7 @@ namespace IceSpider {  				fprintbf(3, output, "}\n\n");  				fprintbf(2, output, "private:\n");  				for (const auto & p : r->params) { -					fprintbf(3, output, "std::string _pn_%s;\n", p->name); +					fprintbf(3, output, "const std::string _pn_%s;\n", p->name);  				}  				fprintbf(1, output, "};\n\n");  			} | 
