Node lookup(uint64_t hash, NodeValue* e);
NodeValue* lookupNoInsert(uint64_t hash, NodeValue* e);
+ friend class NodeManagerScope;
+
public:
static NodeManager* currentNM() { return s_current; }
NodeManager *d_oldNodeManager;
public:
- NodeManagerScope(const NodeManager* nm) : d_oldNodeManager(NodeManager::s_current) {
+ NodeManagerScope(NodeManager* nm) : d_oldNodeManager(NodeManager::s_current) {
NodeManager::s_current = nm;
}
~NodeManagerScope() {