From 108a2a7d701656a3f3459019da2eda535440e161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=A3=8A?= Date: Mon, 8 Mar 2021 10:00:42 +0800 Subject: [PATCH] fixed sr warning --- ge/ir_build/ge_ir_build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/ir_build/ge_ir_build.cc b/ge/ir_build/ge_ir_build.cc index 747a1ec7..62684e3a 100644 --- a/ge/ir_build/ge_ir_build.cc +++ b/ge/ir_build/ge_ir_build.cc @@ -64,7 +64,7 @@ const std::string kInputFormat = "input_format"; * @param cfg_path [IN] the config file path * @return graphStatus */ -typedef graphStatus (*SetOpAttrFun)(ComputeGraphPtr &graph, const std::string &cfg_path); +using SetOpAttrFun = graphStatus (*)(ComputeGraphPtr &graph, const std::string &cfg_path); const std::map kAttrTypeFuncMap = { {ATTR_TYPE_KEEP_DTYPE, KeepDtypeFunc},