Update the submodule trantor

This commit is contained in:
antao 2018-12-24 10:47:20 +08:00
parent 3d8d74b78c
commit e69697466d
3 changed files with 4 additions and 2 deletions

View File

@ -78,7 +78,7 @@ void create_controller::newSimpleControllerHeaderFile(std::ofstream &file, const
file << indent << "{\n";
file << indent << "public:\n";
//TestController(){}
file << indent << " virtual void asyncHandleHttpRequest(const HttpRequestPtr& req,const std::function<void (const HttpResponsePtr &)> & callback)override;\n";
file << indent << " virtual void asyncHandleHttpRequest(const HttpRequestPtr& req,const std::function<void (const HttpResponsePtr &)> & callback) override;\n";
file << indent << " PATH_LIST_BEGIN\n";
file << indent << " //list path definitions here;\n";

View File

@ -50,6 +50,7 @@ static void forEachFileIn(const std::string &path, const std::function<void(cons
if (stat(fullname.c_str(), &st) == -1)
{
perror("stat");
closedir(dp);
return;
}
@ -58,6 +59,7 @@ static void forEachFileIn(const std::string &path, const std::function<void(cons
continue;
cb(fullname, st);
}
closedir(dp);
return;
}

@ -1 +1 @@
Subproject commit a19e6272f8ea769b082455ded39b390619aff1c2
Subproject commit 4f3bf10eb996b3c44ee2d8f61a3add64d1fb6b1c