From a0abc42abfcd63c6cb42c77f5179cd207343c083 Mon Sep 17 00:00:00 2001 From: wangxiaotian22 Date: Mon, 28 Dec 2020 19:53:44 +0800 Subject: [PATCH] fix ut compile --- tests/depends/error_manager/src/error_manager_stub.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/depends/error_manager/src/error_manager_stub.cc b/tests/depends/error_manager/src/error_manager_stub.cc index edf5a487..a57b2457 100644 --- a/tests/depends/error_manager/src/error_manager_stub.cc +++ b/tests/depends/error_manager/src/error_manager_stub.cc @@ -66,13 +66,8 @@ /// @param [in] msg: failed message map, key is error code, value is op_name /// @return int 0(success) -1(fail) /// - int ErrorManager::ReportMstuneCompileFailedMsg(const std::map &msg) { return 0; } - - /// - /// @brief save graph compile failed message from thread local map to global map - /// @param [in] graph_name: graph name - /// - void ErrorManager::SaveMstuneCompileFailedMsg(const std::string &graph_name) {} + int ErrorManager::ReportMstuneCompileFailedMsg(const std::string &root_graph_name, + const std::map &msg) { return 0; } /// /// @brief get graph compile failed message in mstune case