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 | ecb20c12a26bb574a9e3f01e6fb306dddc8ac0b9 (patch) | |
| tree | 78acab0803fc14e888c85a4cacf6dfdd2259b07b /llvm | |
| parent | f7239102fe7bbc2b86e9dde63c322f00a477b484 (diff) | |
| download | bcm5719-llvm-ecb20c12a26bb574a9e3f01e6fb306dddc8ac0b9.tar.gz bcm5719-llvm-ecb20c12a26bb574a9e3f01e6fb306dddc8ac0b9.zip | |
Add an explicit keyword.
llvm-svn: 100187
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Support/SlowOperationInformer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/SlowOperationInformer.h b/llvm/include/llvm/Support/SlowOperationInformer.h index 524049cbff1..607d993fff7 100644 --- a/llvm/include/llvm/Support/SlowOperationInformer.h +++ b/llvm/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 |

