projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Small]BitVector::reference: Explicitly default copy construction as it is deprecated...
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallBitVector.h
diff --git
a/include/llvm/ADT/SmallBitVector.h
b/include/llvm/ADT/SmallBitVector.h
index 22e8ccd8ea0fc6df22f187a5a8634e48b9029daa..ae3d645396fdb1f808634a44a15fbd9e3bbd0120 100644
(file)
--- a/
include/llvm/ADT/SmallBitVector.h
+++ b/
include/llvm/ADT/SmallBitVector.h
@@
-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;