diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-03-24T22·05+0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-03-24T22·05+0100 |
commit | 023217f07c1acd75403bfea88bc38eb48905dc4e (patch) | |
tree | c1223e989559978045ff38df331df5f143a384f8 | |
parent | 165786dbc0ca0b93fadb6e491defac603475b601 (diff) |
use std::tuple for ValueMap allocator
-rw-r--r-- | src/libexpr/value.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index 81f918d48de7..802e8ed2ee75 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -256,7 +256,7 @@ size_t valueSize(Value & v); #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; |