diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-09 12:15:10 +0000 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-02-09 12:15:10 +0000 | 
| commit | 9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0 (patch) | |
| tree | 3884fd24a316241ba8667dd25a33ae8225ed0d9f | |
| parent | Extract the real function parameter type (diff) | |
| download | icespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.tar.bz2 icespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.tar.xz icespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.zip | |
Update requiredParameterNotFound type
| -rw-r--r-- | icespider/compile/routeCompiler.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/icespider/compile/routeCompiler.cpp b/icespider/compile/routeCompiler.cpp index 7bb44d4..ae48428 100644 --- a/icespider/compile/routeCompiler.cpp +++ b/icespider/compile/routeCompiler.cpp @@ -478,8 +478,8 @@ namespace IceSpider {  									p.first);  						}  						else { -							fprintbf(5, output, " [this]() { return requiredParameterNotFound<%s>(\"%s\", _pn_%s); }", -									Slice::typeToString(ip->type()), getEnumString(p.second->source), p.first); +							fprintbf(5, output, " [this]() { return requiredParameterNotFound<std::remove_reference<%s>::type>(\"%s\", _pn_%s); }", +									Slice::inputTypeToString(ip->type(), false, "", ip->getMetaData()), getEnumString(p.second->source), p.first);  						}  					}  					fprintbf(0, output, ");\n"); | 
