From 9394d886f7373df134e58ed413d5c313fc502ace Mon Sep 17 00:00:00 2001 From: zhengyuanhua Date: Tue, 23 Mar 2021 17:51:08 +0800 Subject: [PATCH] compile error in yellow --- ge/common/profiling/profiling_manager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ge/common/profiling/profiling_manager.h b/ge/common/profiling/profiling_manager.h index b34c74c3..9dcc5dab 100755 --- a/ge/common/profiling/profiling_manager.h +++ b/ge/common/profiling/profiling_manager.h @@ -119,7 +119,9 @@ class FMK_FUNC_HOST_VISIBILITY FMK_FUNC_DEV_VISIBILITY ProfilingManager { MsprofCallback prof_cb_; std::string fp_point_; std::string bp_point_; +#ifdef ONLY_COMPILE_OPEN_SRC uint32_t reporter_max_len_ = 0; +#endif }; } // namespace ge #endif // GE_COMMON_PROFILING_PROFILING_MANAGER_H_