diff options
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index ed51f8d1d..e54eede40 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -3,6 +3,7 @@ #include "attr-set.hh" #include "eval-error.hh" +#include "gc-alloc.hh" #include "types.hh" #include "value.hh" #include "nixexpr.hh" @@ -37,22 +38,6 @@ namespace eval_cache { class EvalCache; } -/** Alias for std::map which uses boehmgc's allocator conditional on us actually - * using boehmgc in this build. - */ -#if HAVE_BOEHMGC - template<typename KeyT, typename ValueT> - using GcMap = std::map< - KeyT, - ValueT, - std::less<KeyT>, - traceable_allocator<std::pair<KeyT const, ValueT>> - >; -#else - using GcMap = std::map<KeyT, ValueT> -#endif - - /** * Function that implements a primop. */ |