Skip to content

Commit

Permalink
use std::tuple for ValueMap allocator
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Mar 24, 2017
1 parent 165786d commit 023217f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/value.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 023217f

Please sign in to comment.