]> granicus.if.org Git - clang/commitdiff
The PartialDiagnostic constructor doesn't need to be explicit.
authorAnders Carlsson <andersca@mac.com>
Wed, 26 Aug 2009 22:31:44 +0000 (22:31 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 26 Aug 2009 22:31:44 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80164 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/PartialDiagnostic.h

index 99069839c445ff0ef70a307d94fe1f3042948e13..6a6e6128ff807a21e520638e0ba187b530116055 100644 (file)
@@ -84,7 +84,7 @@ class PartialDiagnostic {
   void operator=(const PartialDiagnostic &); // DO NOT IMPLEMENT
 
 public:
-  explicit PartialDiagnostic(unsigned DiagID)
+  PartialDiagnostic(unsigned DiagID)
     : DiagID(DiagID), DiagStorage(0) { }
 
   PartialDiagnostic(const PartialDiagnostic &Other)