diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 18:00:37 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 18:00:37 +0000 |
commit | 1002c0203450620594a85454c6a095ca94b87cb2 (patch) | |
tree | 73e3b798b99c400100672ea206ea1db8eb84af5a /lib/VMCore/LeakDetector.cpp | |
parent | eccfb6a16583775f4b2e9bea9566f74934cf02c3 (diff) | |
download | llvm-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.cpp | 2 |
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 |