未验证 提交 53d8799b 编写于 作者: L liu zhengxi 提交者: GitHub

remove incorrect new in c style, test=develop (#20370)

remove incorrect "new" in c style. 
上级 7a790188
...@@ -37,7 +37,7 @@ typedef struct PD_PaddleBuf PD_PaddleBuf; ...@@ -37,7 +37,7 @@ typedef struct PD_PaddleBuf PD_PaddleBuf;
typedef struct PD_AnalysisConfig PD_AnalysisConfig; typedef struct PD_AnalysisConfig PD_AnalysisConfig;
typedef struct PD_ZeroCopyData { typedef struct PD_ZeroCopyData {
char* name = new char[50]; char* name;
void* data; void* data;
PD_DataType dtype; PD_DataType dtype;
int* shape; int* shape;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册