diff --git a/inc/framework/omg/ge_init.h b/inc/framework/omg/ge_init.h index f82055d1..42fd8979 100644 --- a/inc/framework/omg/ge_init.h +++ b/inc/framework/omg/ge_init.h @@ -20,20 +20,17 @@ #include #include "common/ge_inner_error_codes.h" -using std::string; -using std::map; - namespace ge { class GE_FUNC_VISIBILITY GEInit { public: // GE Environment Initialize, return Status: SUCCESS,FAILED - static Status Initialize(const map &options); + static Status Initialize(const std::map &options); - static string GetPath(); + static std::string GetPath(); // GE Environment Finalize, return Status: SUCCESS,FAILED static Status Finalize(); }; } // namespace ge -#endif // INIT_H_ +#endif // INC_FRAMEWORK_OMG_GE_INIT_H_ diff --git a/inc/framework/omg/model_tool.h b/inc/framework/omg/model_tool.h index afc8dad1..825e3f23 100644 --- a/inc/framework/omg/model_tool.h +++ b/inc/framework/omg/model_tool.h @@ -22,6 +22,7 @@ #include "framework/common/debug/ge_log.h" #include "proto/ge_ir.pb.h" + namespace ge { class GE_FUNC_VISIBILITY ModelTool { public: