Browse Source

!8820 Modify alarm

From: @shenwei41
Reviewed-by: @liucunwei,@pandoublefeng
Signed-off-by: @liucunwei
pull/8820/MERGE
mindspore-ci-bot Gitee 5 years ago
parent
commit
53dd01bdb5
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