Browse Source

!8821 Modify alarm on master

From: @shenwei41
Reviewed-by: @pandoublefeng
Signed-off-by:
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
010d950c01
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