diff --git a/drogon_ctl/templates/model_cc.csp b/drogon_ctl/templates/model_cc.csp index ccc6150e..dfd6bdb8 100644 --- a/drogon_ctl/templates/model_cc.csp +++ b/drogon_ctl/templates/model_cc.csp @@ -1460,7 +1460,7 @@ void [[className]]::get{%relationshipClassName%}(const DbClientPtr &clientPtr, std::string alind(alias.length(), ' '); %> void [[className]]::get{%alias%}(const DbClientPtr &clientPtr, - {%indentStr%} {%alind%} const std::function>) &rcb, + {%indentStr%} {%alind%} const std::function>)> &rcb, {%indentStr%} {%alind%} const ExceptionCallback &ecb) const <%c++ }