summaryrefslogtreecommitdiff
path: root/lib/VMCore/LeakDetector.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-07 18:00:37 +0000
committerDan Gohman <gohman@apple.com>2008-07-07 18:00:37 +0000
commit1002c0203450620594a85454c6a095ca94b87cb2 (patch)
tree73e3b798b99c400100672ea206ea1db8eb84af5a /lib/VMCore/LeakDetector.cpp
parenteccfb6a16583775f4b2e9bea9566f74934cf02c3 (diff)
downloadllvm-1002c0203450620594a85454c6a095ca94b87cb2.tar.gz
llvm-1002c0203450620594a85454c6a095ca94b87cb2.tar.bz2
llvm-1002c0203450620594a85454c6a095ca94b87cb2.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LeakDetector.cpp')
-rw-r--r--lib/VMCore/LeakDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/LeakDetector.cpp b/lib/VMCore/LeakDetector.cpp
index 9f3584e25a..4ad75b7373 100644
--- a/lib/VMCore/LeakDetector.cpp
+++ b/lib/VMCore/LeakDetector.cpp
@@ -31,7 +31,7 @@ namespace {
template <typename T>
struct VISIBILITY_HIDDEN LeakDetectorImpl {
- LeakDetectorImpl(const char* const name) : Cache(0), Name(name) { }
+ explicit LeakDetectorImpl(const char* const name) : Cache(0), Name(name) { }
// Because the most common usage pattern, by far, is to add a
// garbage object, then remove it immediately, we optimize this