Browse Source

delete ascend string.h

tags/v1.1.0
zhengyuanhua 4 years ago
parent
commit
d94eb17870
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      inc/external/ge/ge_api_error_codes.h

+ 0
- 8
inc/external/ge/ge_api_error_codes.h View File

@@ -20,7 +20,6 @@
#include <map> #include <map>
#include <string> #include <string>
#include "ge_error_codes.h" #include "ge_error_codes.h"
#include "graph/ascend_string.h"


namespace ge { namespace ge {
#ifdef __GNUC__ #ifdef __GNUC__
@@ -63,13 +62,6 @@ class StatusFactory {
return iter_find->second; return iter_find->second;
} }


void GetErrDesc(uint32_t err, AscendString &err_desc) {
auto iter_find = err_desc_.find(err);
if (iter_find != err_desc_.end()) {
err_desc = AscendString((iter_find->second).c_str());
}
}

protected: protected:
StatusFactory() {} StatusFactory() {}
~StatusFactory() {} ~StatusFactory() {}


Loading…
Cancel
Save