From fc4031ec264294e63238a0f13dc702de44e7ed96 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Tue, 4 Aug 2015 16:41:51 +0800 Subject: [PATCH] Now the value in ScopedPtrHashMap is required to be scoped_ptr. --- atom/common/asar/archive.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/common/asar/archive.h b/atom/common/asar/archive.h index 2acd17fd7ab4..dda7aa78e0c0 100644 --- a/atom/common/asar/archive.h +++ b/atom/common/asar/archive.h @@ -73,7 +73,8 @@ class Archive { scoped_ptr header_; // Cached external temporary files. - base::ScopedPtrHashMap external_files_; + base::ScopedPtrHashMap> + external_files_; DISALLOW_COPY_AND_ASSIGN(Archive); };