[Small]BitVector::reference: Explicitly default copy construction as it is deprecated...
[oota-llvm.git] / include / llvm / ADT / SmallBitVector.h
index 22e8ccd8ea0fc6df22f187a5a8634e48b9029daa..ae3d645396fdb1f808634a44a15fbd9e3bbd0120 100644 (file)
@@ -66,6 +66,8 @@ public:
   public:
     reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {}
 
+    reference(const reference&) = default;
+
     reference& operator=(reference t) {
       *this = bool(t);
       return *this;