diff options
author | Tim King <taking@google.com> | 2017-07-20 18:00:11 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2017-07-20 18:00:11 -0700 |
commit | 26a2fcf1413a02788dc25745fac87eb610b5a55d (patch) | |
tree | 21e7db3d7707a5be944124cb5959656ba9e2ee36 /src/printer/dagification_visitor.h | |
parent | 8cf852387cb3a6ec17e77e61956030ca0c4c3837 (diff) | |
parent | 8b0659e6cd342ae40b676781b5e819d5fd2b3af7 (diff) |
Merge branch 'master' into cleanup-regexp
Diffstat (limited to 'src/printer/dagification_visitor.h')
-rw-r--r-- | src/printer/dagification_visitor.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/printer/dagification_visitor.h b/src/printer/dagification_visitor.h index 1f89d36f6..6cbe5f863 100644 --- a/src/printer/dagification_visitor.h +++ b/src/printer/dagification_visitor.h @@ -19,12 +19,13 @@ #ifndef __CVC4__PRINTER__DAGIFICATION_VISITOR_H #define __CVC4__PRINTER__DAGIFICATION_VISITOR_H +#include <string> +#include <unordered_map> +#include <vector> + #include "expr/node.h" #include "util/hash.h" -#include <vector> -#include <string> - namespace CVC4 { namespace context { @@ -65,7 +66,7 @@ class DagificationVisitor { /** * A map of subexprs to their occurrence count. */ - std::hash_map<TNode, unsigned, TNodeHashFunction> d_nodeCount; + std::unordered_map<TNode, unsigned, TNodeHashFunction> d_nodeCount; /** * The top-most node we are visiting. @@ -109,7 +110,7 @@ class DagificationVisitor { * in independently dagifying the child. (If it is beyond the threshold * and occurs in more than one parent, we'll independently dagify.) */ - std::hash_map<TNode, TNode, TNodeHashFunction> d_uniqueParent; + std::unordered_map<TNode, TNode, TNodeHashFunction> d_uniqueParent; /** * A list of all nodes that meet the occurrence threshold and therefore |