summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-02 14:57:49 +0000
committerDan Gohman <gohman@apple.com>2010-04-02 14:57:49 +0000
commita6194b3a2a6a4a4e41cf5f2e6163960e21b733ee (patch)
tree29dd19b0d64199a333a2c057e99452ae065ed3d7
parentd7bfd0028b273f2e3935e8c7ff95db6fa2b21789 (diff)
downloadllvm-a6194b3a2a6a4a4e41cf5f2e6163960e21b733ee.tar.gz
llvm-a6194b3a2a6a4a4e41cf5f2e6163960e21b733ee.tar.bz2
llvm-a6194b3a2a6a4a4e41cf5f2e6163960e21b733ee.tar.xz
Add an explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100187 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/SlowOperationInformer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/SlowOperationInformer.h b/include/llvm/Support/SlowOperationInformer.h
index 524049cbff..607d993fff 100644
--- a/include/llvm/Support/SlowOperationInformer.h
+++ b/include/llvm/Support/SlowOperationInformer.h
@@ -41,7 +41,7 @@ namespace llvm {
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