]> granicus.if.org Git - clang/commitdiff
Mark the right ctor explicit, patch by Cédric Venet
authorChris Lattner <sabre@nondot.org>
Sat, 7 Jun 2008 19:56:57 +0000 (19:56 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Jun 2008 19:56:57 +0000 (19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52078 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Support/ExprDeclBitVector.h

index 5796fb39a7fda1028c9be8975146960e19c33dea..7b44fd7c6ba1fdaf289957d7ec5ddcc7e3471026 100644 (file)
@@ -31,8 +31,8 @@ struct DeclBitVector_Types {
   class Idx {
     unsigned I;
   public:
-    Idx(unsigned i) : I(i) {}
-    explicit Idx() : I(~0U) {}
+    explicit Idx(unsigned i) : I(i) {}
+    Idx() : I(~0U) {}
     
     bool isValid() const {
       return I != ~0U;