Update the submodule trantor
This commit is contained in:
parent
3d8d74b78c
commit
e69697466d
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
2
trantor
2
trantor
|
@ -1 +1 @@
|
|||
Subproject commit a19e6272f8ea769b082455ded39b390619aff1c2
|
||||
Subproject commit 4f3bf10eb996b3c44ee2d8f61a3add64d1fb6b1c
|
Loading…
Reference in New Issue