Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1165)

Issue 1182042: Fixed compile error on MAC. Fixed TMap to use std::pair<const K, V> as pool_a... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 6 months ago by Alok Priyadarshi
Modified:
14 years, 6 months ago
Reviewers:
kbr1, dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixed compile error on MAC. Fixed TMap to use std::pair<const K, V> as pool_allocator parameter. Replaced all instances of std::map with TMap. I wonder if this pool_allocator is worth all this complexity.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -16 lines) Patch
M src/compiler/Common.h View 3 chunks +9 lines, -13 lines 2 comments Download
M src/compiler/SymbolTable.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/Types.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
Alok Priyadarshi
14 years, 6 months ago (2010-05-12 17:42:55 UTC) #1
kbr1
LGTM http://codereview.appspot.com/1182042/diff/1/2 File src/compiler/Common.h (right): http://codereview.appspot.com/1182042/diff/1/2#newcode100 src/compiler/Common.h:100: class TMap : public std::map<K, D, CMP, pool_allocator<std::pair<const ...
14 years, 6 months ago (2010-05-12 18:00:16 UTC) #2
dgkoch
no issues here.
14 years, 6 months ago (2010-05-12 18:30:22 UTC) #3
Alok Priyadarshi
14 years, 6 months ago (2010-05-12 18:35:23 UTC) #4
http://codereview.appspot.com/1182042/diff/1/2
File src/compiler/Common.h (right):

http://codereview.appspot.com/1182042/diff/1/2#newcode100
src/compiler/Common.h:100: class TMap : public std::map<K, D, CMP,
pool_allocator<std::pair<const K, D> > > {
No it was not necessary. I was just trying to clean the unnecessary cruft and
make it consistent with the declaration of TVector.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b