modify FunctionTraits

This commit is contained in:
an-tao 2018-07-10 15:42:50 +08:00
parent 3391584d9f
commit e26395afdc

View File

@ -27,6 +27,8 @@ namespace drogon{
struct FunctionTraits<
ReturnType(ClassType::*)(Arguments...) const
> : FunctionTraits<ReturnType(*)(Arguments...)> {
static const bool isClassFunction=true;
typedef ClassType class_type;
static const std::string name(){return std::string("Class Function");}
};