From: Dan Gohman Date: Fri, 2 Apr 2010 14:57:49 +0000 (+0000) Subject: Add an explicit keyword. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a6194b3a2a6a4a4e41cf5f2e6163960e21b733ee;p=oota-llvm.git Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100187 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/SlowOperationInformer.h b/include/llvm/Support/SlowOperationInformer.h index 524049cbff1..607d993fff7 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