summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-09 12:15:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-02-09 12:15:10 +0000
commit9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0 (patch)
tree3884fd24a316241ba8667dd25a33ae8225ed0d9f
parentExtract the real function parameter type (diff)
downloadicespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.tar.bz2
icespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.tar.xz
icespider-9bdb1f8ff7c43f981c6005be6cca873dc8ca26d0.zip
Update requiredParameterNotFound type
-rw-r--r--icespider/compile/routeCompiler.cpp4
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");