add cli/BUILD.gn CMakeList.txt CommandLine.h CommandLineFactory.cpp CommandLineFactory.h CommandLineInterface.h,modify warns

Signed-off-by: libenyao <libenyao@h-partners.com>
This commit is contained in:
libenyao
2023-02-23 11:44:05 +08:00
parent 1bb5d7f46e
commit 39893b0086
+2 -1
View File
@@ -99,7 +99,8 @@ unique_ptr<CommandLine> CommandLineFactory::CreateCommandLine(string command,
}
template <typename T>
unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type, const Json::Value& args, const LocalSocket& socket)
unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type,
const Json::Value& args, const LocalSocket& socket)
{
return make_unique<T>(type, args, socket);
}