Browse Source

Modify alarm

tags/v1.1.0
shenwei41 5 years ago
parent
commit
9b54917485
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/minddata/dataset/util/allocator.h

+ 1
- 1
mindspore/ccsrc/minddata/dataset/util/allocator.h View File

@@ -69,7 +69,7 @@ class Allocator {
}

pointer allocate(std::size_t n) {
void *p;
void *p = nullptr;
Status rc = pool_->Allocate(n * sizeof(T), &p);
if (rc.IsOk()) {
return reinterpret_cast<pointer>(p);


Loading…
Cancel
Save