[llvm-commits] [llvm] r100187 - /llvm/trunk/include/llvm/Support/SlowOperationInformer.h

Dan Gohman gohman at apple.com
Fri Apr 2 07:57:50 PDT 2010


Author: djg
Date: Fri Apr  2 09:57:49 2010
New Revision: 100187

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

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

Modified: llvm/trunk/include/llvm/Support/SlowOperationInformer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/SlowOperationInformer.h?rev=100187&r1=100186&r2=100187&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/SlowOperationInformer.h (original)
+++ llvm/trunk/include/llvm/Support/SlowOperationInformer.h Fri Apr  2 09:57:49 2010
@@ -41,7 +41,7 @@
     SlowOperationInformer(const SlowOperationInformer&);   // DO NOT IMPLEMENT
     void operator=(const SlowOperationInformer&);          // DO NOT IMPLEMENT
   public:
-    SlowOperationInformer(const std::string &Name);
+    explicit SlowOperationInformer(const std::string &Name);
     ~SlowOperationInformer();
 
     /// progress - Clients should periodically call this method when they can





More information about the llvm-commits mailing list