From a8c227d5f51665decbafb3bb72c3431484016247 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 12 Feb 2015 19:50:28 +0800 Subject: [PATCH] Fix cpplint warnings --- atom/common/asar/asar_util.cc | 4 ++-- atom/common/asar/asar_util.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/atom/common/asar/asar_util.cc b/atom/common/asar/asar_util.cc index 7c35ddcc5c2c..43e2601ac456 100644 --- a/atom/common/asar/asar_util.cc +++ b/atom/common/asar/asar_util.cc @@ -5,6 +5,7 @@ #include "atom/common/asar/asar_util.h" #include +#include #include "atom/common/asar/archive.h" #include "base/files/file_path.h" @@ -14,11 +15,10 @@ namespace asar { -typedef std::map> ArchiveMap; - namespace { // The global instance of ArchiveMap, will be destroyed on exit. +typedef std::map> ArchiveMap; static base::LazyInstance g_archive_map = LAZY_INSTANCE_INITIALIZER; const base::FilePath::CharType kAsarExtension[] = FILE_PATH_LITERAL(".asar"); diff --git a/atom/common/asar/asar_util.h b/atom/common/asar/asar_util.h index b3c60f679b52..4cb5b88e0483 100644 --- a/atom/common/asar/asar_util.h +++ b/atom/common/asar/asar_util.h @@ -6,6 +6,7 @@ #define ATOM_COMMON_ASAR_ASAR_UTIL_H_ #include +#include namespace base { class FilePath;