diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 19:56:17 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 19:56:17 +0000 |
commit | 11f48572859aca238afeb436d2504c5ffab49f07 (patch) | |
tree | 1b31af349eb99a9e83716f5add3273b42bee41cf /chrome/common/mru_cache.h | |
parent | af530ac147feb1b04446f529daa4cc4448f89b23 (diff) | |
download | chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.zip chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.gz chromium_src-11f48572859aca238afeb436d2504c5ffab49f07.tar.bz2 |
Fixes almost all of the rest of lint errors in the chrome/ directory (minus the really hard ones which will need actual review instead of rubber-stamping.)
Review URL: http://codereview.chromium.org/386026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/mru_cache.h')
-rw-r--r-- | chrome/common/mru_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/mru_cache.h b/chrome/common/mru_cache.h index 9190d9d..b2643f8 100644 --- a/chrome/common/mru_cache.h +++ b/chrome/common/mru_cache.h @@ -53,7 +53,7 @@ class MRUCacheBase { // a new item is inserted. If the caller wants to manager this itself (for // example, maybe it has special work to do when something is evicted), it // can pass NO_AUTO_EVICT to not restrict the cache size. - MRUCacheBase(size_type max_size) : max_size_(max_size) { + explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { } virtual ~MRUCacheBase() { @@ -205,7 +205,7 @@ class MRUCache : public MRUCacheBase<KeyType, public: // See MRUCacheBase, noting the possibility of using NO_AUTO_EVICT. - MRUCache(typename ParentType::size_type max_size) + explicit MRUCache(typename ParentType::size_type max_size) : ParentType(max_size) { } virtual ~MRUCache() { @@ -239,7 +239,7 @@ class OwningMRUCache public: // See MRUCacheBase, noting the possibility of using NO_AUTO_EVICT. - OwningMRUCache(typename ParentType::size_type max_size) + explicit OwningMRUCache(typename ParentType::size_type max_size) : ParentType(max_size) { } virtual ~OwningMRUCache() { |