diff --git a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h index 3324e460d2..06a44356d8 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h +++ b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_perf_run.h @@ -100,7 +100,4 @@ class CachePerfRun { }; } // namespace dataset } // namespace mindspore -// todo: waiting for the master of the codes to refactor -#define get_code StatusCode -#define kDuplicateKey kMDDuplicateKey #endif // MINDSPORE_CCSRC_MINDDATA_DATASET_ENGINE_CACHE_PERF_RUN_H_ diff --git a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h index c0f8d8e738..7643179c89 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h +++ b/mindspore/ccsrc/minddata/dataset/engine/cache/perf/cache_pipeline_run.h @@ -115,9 +115,4 @@ class CachePipelineRun { }; } // namespace dataset } // namespace mindspore -// todo: waiting for the master of the codes to refactor -#define get_code StatusCode -#define kDuplicateKey kMDDuplicateKey -#define IsOutofMemory() StatusCode() == StatusCode::kMDOutOfMemory -#define IsNoSpace() StatusCode() == StatusCode::kMDNoSpace #endif // MINDSPORE_CCSRC_MINDDATA_DATASET_ENGINE_CACHE_PIPELINE_RUN_H_