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

Issue 3083: Use tr1/unordered_{map,set} instead of ext/hash_{map,set} in base/hash_tables.h (Closed)

Created:
12 years, 3 months ago by vega.james
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

Use tr1/unordered_{map,set} instead of ext/hash_{map,set}. This allows removing the -Wno-deprecated warning exclusion. HttpVersion had to be changed because glibc defines macros named "major" and "minor" which was causing compilation problems with the change to unordered_{map,set}. BUG=2053

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M net/http/http_response_headers.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_version.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
vega.james_gmail.com
12 years, 3 months ago (2008-09-16 16:21:42 UTC) #1
Evan Martin
I was going to try this out, but it conflicts with trunk. Can you update ...
12 years, 3 months ago (2008-09-16 19:31:07 UTC) #2
vega.james_gmail.com
Updated to fix conflicts from the warning cleanup in r2272
12 years, 3 months ago (2008-09-16 19:55:13 UTC) #3
Mark Mentovai
adding self to list
12 years, 3 months ago (2008-09-16 20:27:44 UTC) #4
Mark Mentovai
http://codereview.chromium.org/3083/diff/6/208 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/6/208#newcode33 Line 33: #define hash_map unordered_map No way. Can you do ...
12 years, 3 months ago (2008-09-16 20:44:30 UTC) #5
Mark Mentovai
http://codereview.chromium.org/3083/diff/6/208 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/6/208#newcode31 Line 31: using std::tr1::unordered_map; Also, be sure to test the ...
12 years, 3 months ago (2008-09-16 20:46:14 UTC) #6
vega.james_gmail.com
http://codereview.chromium.org/3083/diff/6/208 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/6/208#newcode33 Line 33: #define hash_map unordered_map On 2008/09/16 20:44:31, Mark Mentovai ...
12 years, 3 months ago (2008-09-16 20:55:34 UTC) #7
Evan Martin
I saw something on IRC about this getting fixed. Or is there a workaround? E.g. ...
12 years, 3 months ago (2008-09-16 21:02:43 UTC) #8
Mark Mentovai
http://codereview.chromium.org/3083/diff/6/208 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/6/208#newcode33 Line 33: #define hash_map unordered_map jamessan wrote: > You can't ...
12 years, 3 months ago (2008-09-16 21:12:55 UTC) #9
vega.james_gmail.com
On 2008/09/16 21:02:43, Evan Martin wrote: > I saw something on IRC about this getting ...
12 years, 3 months ago (2008-09-16 21:32:32 UTC) #10
vega.james_gmail.com
On 2008/09/16 21:12:55, Mark Mentovai wrote: > template<class Key, > class T, > class Hash ...
12 years, 3 months ago (2008-09-16 21:50:58 UTC) #11
Mark Mentovai
LGTM if it tests out well, let us know what you find.
12 years, 3 months ago (2008-09-16 22:11:14 UTC) #12
Seo Sanghyeon
On 2008/09/16 22:11:14, Mark Mentovai wrote: > LGTM if it tests out well, let us ...
12 years, 3 months ago (2008-09-17 03:11:08 UTC) #13
M-A Ruel
http://codereview.chromium.org/3083/diff/220/14 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/220/14#newcode37 Line 37: }; The main issue with these 2 classes ...
12 years, 3 months ago (2008-09-17 14:57:03 UTC) #14
vega.james_gmail.com
On 2008/09/17 14:57:03, M-A wrote: > http://codereview.chromium.org/3083/diff/220/14 > File base/hash_tables.h (right): > > http://codereview.chromium.org/3083/diff/220/14#newcode37 > ...
12 years, 3 months ago (2008-09-18 15:58:14 UTC) #15
M-A Ruel
http://codereview.chromium.org/3083/diff/28/229 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/28/229#newcode20 Line 20: #if defined(COMPILER_MSVC) // TODO(maruel): rip out all of ...
12 years, 3 months ago (2008-09-18 16:13:24 UTC) #16
vega.james_gmail.com
http://codereview.chromium.org/3083/diff/28/229 File base/hash_tables.h (right): http://codereview.chromium.org/3083/diff/28/229#newcode28 Line 28: #include <tr1/unordered_map> On 2008/09/18 16:13:24, M-A wrote: > ...
12 years, 3 months ago (2008-09-18 16:41:14 UTC) #17
vega.james_gmail.com
On 2008/09/18 16:13:24, M-A wrote: > http://codereview.chromium.org/3083/diff/28/229#newcode28 > Line 28: #include <tr1/unordered_map> > I agree ...
12 years, 3 months ago (2008-09-22 00:47:38 UTC) #18
M-A Ruel
12 years, 3 months ago (2008-09-23 16:32:24 UTC) #19
Checked in (somewhat modified) as r2491. Please close the review.

Powered by Google App Engine
This is Rietveld 408576698