use std::tuple for ValueMap allocator

This commit is contained in:
Daiderd Jordan 2017-03-24 23:05:49 +01:00
parent 165786dbc0
commit 023217f07c
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -256,7 +256,7 @@ size_t valueSize(Value & v);
#if HAVE_BOEHMGC #if HAVE_BOEHMGC
typedef std::vector<Value *, gc_allocator<Value *> > ValueVector; 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 #else
typedef std::vector<Value *> ValueVector; typedef std::vector<Value *> ValueVector;
typedef std::map<Symbol, Value *> ValueMap; typedef std::map<Symbol, Value *> ValueMap;