diff options
Diffstat (limited to 'runtime/hprof')
| -rw-r--r-- | runtime/hprof/hprof.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/hprof/hprof.cc b/runtime/hprof/hprof.cc index fc8b594870..91f1718559 100644 --- a/runtime/hprof/hprof.cc +++ b/runtime/hprof/hprof.cc @@ -475,7 +475,7 @@ class Hprof { } } - UniquePtr<File> file(new File(out_fd, filename_)); + std::unique_ptr<File> file(new File(out_fd, filename_)); okay = file->WriteFully(header_data_ptr_, header_data_size_) && file->WriteFully(body_data_ptr_, body_data_size_); if (!okay) { |
