summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-12-27 14:20:11 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-12-27 14:20:11 +0000
commit7c830ce5a219950eceeb720e30a94fd5dd79e8e2 (patch)
tree4c8c828a4d7b514dc8ab9c9e7ea89654afe158f2
parentAdd -- to test run options before file list (diff)
downloadicespider-7c830ce5a219950eceeb720e30a94fd5dd79e8e2.tar.bz2
icespider-7c830ce5a219950eceeb720e30a94fd5dd79e8e2.tar.xz
icespider-7c830ce5a219950eceeb720e30a94fd5dd79e8e2.zip
Simplify some code gen
-rw-r--r--icespider/compile/routeCompiler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/icespider/compile/routeCompiler.cpp b/icespider/compile/routeCompiler.cpp
index 7f5ddd6..b6ae3ae 100644
--- a/icespider/compile/routeCompiler.cpp
+++ b/icespider/compile/routeCompiler.cpp
@@ -452,8 +452,7 @@ namespace IceSpider {
for (const auto & p : r.second->params) {
if (p.second->hasUserSource) {
auto ip = ps.find(p.first)->second;
- const auto paramType = "std::remove_cvref<%?>::type"_fmt(
- Slice::inputTypeToString(ip->type(), false, "", ip->getMetaData()));
+ const auto paramType = Slice::typeToString(ip->type(), false, "", ip->getMetaData());
// This shouldn't be needed... the warning is ignored elsewhere to no effect
if (p.second->source == ParameterSource::Body) {
if (p.second->key) {