Skip to content

Commit

Permalink
use std::tuple for ValueMap allocator
Browse files Browse the repository at this point in the history
(cherry picked from commit 023217f)
  • Loading branch information
LnL7 committed Mar 24, 2017
1 parent 206b61b commit 7733135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/json-to-value.cc
Expand Up @@ -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;
Expand Down

0 comments on commit 7733135

Please sign in to comment.