Use more DISALLOW_COPY_AND_ASSIGN

This commit is contained in:
Tiago Gomes
2012-12-27 22:25:45 +00:00
parent 7b7f663ac6
commit 485c3e34b2
20 changed files with 83 additions and 27 deletions

View File

@@ -63,7 +63,6 @@ class ElimGraph
static void setElimHeuristic (ElimHeuristic eh) { elimHeuristic_ = eh; }
private:
void addEdge (EgNode* n1, EgNode* n2)
{
assert (n1 != n2);
@@ -136,6 +135,8 @@ class ElimGraph
unordered_map<VarId, EgNode*> varMap_;
static ElimHeuristic elimHeuristic_;
DISALLOW_COPY_AND_ASSIGN (ElimGraph);
};
#endif // HORUS_ELIMGRAPH_H