Add an explicit keyword.
authorDan Gohman <gohman@apple.com>
Mon, 10 May 2010 20:14:02 +0000 (20:14 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 10 May 2010 20:14:02 +0000 (20:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103424 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/DOTGraphTraits.h

index 54ced15321d1a6144fcaf30b44dec4008f0e9793..ebbcf7c400e965cd330c9eadcca9ef55fd38c9a1 100644 (file)
@@ -36,7 +36,7 @@ protected:
   }
 
 public:
-  DefaultDOTGraphTraits (bool simple=false) : IsSimple (simple) {}
+  explicit DefaultDOTGraphTraits(bool simple=false) : IsSimple (simple) {}
 
   /// getGraphName - Return the label for the graph as a whole.  Printed at the
   /// top of the graph.