You need to sign in or sign up before continuing.
提交 027a7b0d 编写于 作者: K kun yu

cannot use make_shared


Former-commit-id: c44f85317266b8acb9a3ca3a2620da2e6998e7fe
上级 4bc086e9
...@@ -106,7 +106,6 @@ CreateTableTask::CreateTableTask(const ::milvus::grpc::TableSchema& schema) ...@@ -106,7 +106,6 @@ CreateTableTask::CreateTableTask(const ::milvus::grpc::TableSchema& schema)
} }
BaseTaskPtr CreateTableTask::Create(const ::milvus::grpc::TableSchema& schema) { BaseTaskPtr CreateTableTask::Create(const ::milvus::grpc::TableSchema& schema) {
// return std::make_shared<BaseTask>(new CreateTableTask(schema));
return std::shared_ptr<BaseTask>(new CreateTableTask(schema)); return std::shared_ptr<BaseTask>(new CreateTableTask(schema));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册