use std::tuple for ValueMap allocator

(cherry picked from commit 023217f07c)
This commit is contained in:
Daiderd Jordan 2017-03-24 23:05:49 +01:00
parent 206b61b074
commit 773313591f
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ static void skipWhitespace(const char * & s)
#if HAVE_BOEHMGC
typedef std::vector<Value *, gc_allocator<Value *> > ValueVector;
typedef std::map<Symbol, Value *, std::less<Symbol>, gc_allocator<Value *> > ValueMap;
typedef std::map<Symbol, Value *, std::less<Symbol>, gc_allocator<std::pair<const Symbol, Value *> > > ValueMap;
#else
typedef std::vector<Value *> ValueVector;
typedef std::map<Symbol, Value *> ValueMap;