mirror of
https://github.com/openharmony/tools_previewer.git
synced 2026-07-15 04:32:40 -04:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user