]> khamidou — GitHub mirrors - electron.git/commitdiff
Now the value in ScopedPtrHashMap is required to be scoped_ptr.
authorHaojian Wu <hokein.wu@gmail.com>
Tue, 4 Aug 2015 08:41:51 +0000 (16:41 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 11 Aug 2015 01:48:29 +0000 (09:48 +0800)
atom/common/asar/archive.h

index 2acd17fd7ab4a34dc9c9aa869da80a4bac070870..dda7aa78e0c0957d157b41847c4978ee729187dd 100644 (file)
@@ -73,7 +73,8 @@ class Archive {
   scoped_ptr<base::DictionaryValue> header_;
 
   // Cached external temporary files.
-  base::ScopedPtrHashMap<base::FilePath, ScopedTemporaryFile> external_files_;
+  base::ScopedPtrHashMap<base::FilePath, scoped_ptr<ScopedTemporaryFile>>
+      external_files_;
 
   DISALLOW_COPY_AND_ASSIGN(Archive);
 };