Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2560)

Unified Diff: base/containers/scoped_ptr_hash_map.h

Issue 23526014: Remove incorrect const qualifier from resize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/containers/scoped_ptr_hash_map.h
diff --git a/base/containers/scoped_ptr_hash_map.h b/base/containers/scoped_ptr_hash_map.h
index 8d92b390661dda0393d3a744d76edacc31f8b74c..b636e604a5a75a9adfceef88ade5b818d4647e22 100644
--- a/base/containers/scoped_ptr_hash_map.h
+++ b/base/containers/scoped_ptr_hash_map.h
@@ -139,7 +139,7 @@ class ScopedPtrHashMap {
inline bool empty() const { return data_.empty(); }
inline size_t bucket_count() const { return data_.bucket_count(); }
- inline void resize(size_t size) const { return data_.resize(size); }
+ inline void resize(size_t size) { return data_.resize(size); }
inline iterator begin() { return data_.begin(); }
inline const_iterator begin() const { return data_.begin(); }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698