traceable_allocator

This commit is contained in:
Ben Burdette
2022-05-05 20:26:10 -06:00
parent f400c5466d
commit dea998b2f2
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -37,7 +37,11 @@ struct PrimOp
const char * doc = nullptr;
};
typedef std::map<std::string, Value *> ValMap;
#if HAVE_BOEHMGC
typedef std::map<std::string, Value *, std::less<std::string>, traceable_allocator<std::pair<const std::string, Value *> > > ValMap;
#else
typedef std::map<std::string, Value *> ValMap;
#endif
struct Env
{