[llvm-commits] [llvm] r103424 - /llvm/trunk/include/llvm/Support/DOTGraphTraits.h

Dan Gohman gohman at apple.com
Mon May 10 13:14:02 PDT 2010


Author: djg
Date: Mon May 10 15:14:02 2010
New Revision: 103424

URL: http://llvm.org/viewvc/llvm-project?rev=103424&view=rev
Log:
Add an explicit keyword.

Modified:
    llvm/trunk/include/llvm/Support/DOTGraphTraits.h

Modified: llvm/trunk/include/llvm/Support/DOTGraphTraits.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DOTGraphTraits.h?rev=103424&r1=103423&r2=103424&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DOTGraphTraits.h (original)
+++ llvm/trunk/include/llvm/Support/DOTGraphTraits.h Mon May 10 15:14:02 2010
@@ -36,7 +36,7 @@
   }
 
 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.





More information about the llvm-commits mailing list