diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-02 14:57:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-02 14:57:49 +0000 |
commit | a6194b3a2a6a4a4e41cf5f2e6163960e21b733ee (patch) | |
tree | 29dd19b0d64199a333a2c057e99452ae065ed3d7 | |
parent | d7bfd0028b273f2e3935e8c7ff95db6fa2b21789 (diff) | |
download | llvm-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.h | 2 |
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 |