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

Unified Diff: base/containers/small_map_unittest.cc

Issue 623383002: Align base::hash_map with C++11, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hash-1
Patch Set: clean up stale includes Created 6 years, 2 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 | « base/containers/hash_tables_unittest.cc ('k') | base/files/file_path.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/containers/small_map_unittest.cc
diff --git a/base/containers/small_map_unittest.cc b/base/containers/small_map_unittest.cc
index bc76e370397b40053db342fa7e84000599a6b2b4..f87a8f09cbf5fcc75ffa338ba48fb549f2449f22 100644
--- a/base/containers/small_map_unittest.cc
+++ b/base/containers/small_map_unittest.cc
@@ -414,9 +414,8 @@ namespace {
class hash_map_add_item : public hash_map<int, int> {
public:
- hash_map_add_item() : hash_map<int, int>() {}
- explicit hash_map_add_item(const std::pair<int, int>& item)
- : hash_map<int, int>() {
+ hash_map_add_item() {}
+ explicit hash_map_add_item(const std::pair<int, int>& item) {
insert(item);
}
};
« no previous file with comments | « base/containers/hash_tables_unittest.cc ('k') | base/files/file_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698