Add explicit keywords.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47382 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2008-02-20 16:44:09 +00:00
parent 948d8eadec
commit b5660dc822
6 changed files with 10 additions and 8 deletions

View File

@@ -262,7 +262,7 @@ class VISIBILITY_HIDDEN WorkListRemover :
public SelectionDAG::DAGUpdateListener {
DAGCombiner &DC;
public:
WorkListRemover(DAGCombiner &dc) : DC(dc) {}
explicit WorkListRemover(DAGCombiner &dc) : DC(dc) {}
virtual void NodeDeleted(SDNode *N) {
DC.removeFromWorkList(N);