cannot use make_shared

Former-commit-id: dd213f89cdac4b36734a18078c1712872c8d8e84
This commit is contained in:
kun yu 2019-08-07 19:52:39 +08:00
parent 128b25e90a
commit 88998999f1

View File

@ -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));
} }