Browse Source

support compile on centos

tags/v1.1.0
lizhenyu 5 years ago
parent
commit
b0caa42a94
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/backend/optimizer/mem_reuse/mem_copy_manager.h

+ 1
- 1
mindspore/ccsrc/backend/optimizer/mem_reuse/mem_copy_manager.h View File

@@ -70,7 +70,7 @@ struct MemSwapInfo {
};

struct SwapInfoComp {
bool operator()(const MemSwapInfo &a, const MemSwapInfo &b) {
bool operator()(const MemSwapInfo &a, const MemSwapInfo &b) const {
int swap_kind_a = static_cast<int>(a.swap_kind_);
int swap_kind_b = static_cast<int>(b.swap_kind_);
if (swap_kind_a < swap_kind_b) {


Loading…
Cancel
Save