forked from OSchip/llvm-project
AsmPrinter: Explicitly scope iterator for MSVC
Try to placate bots by explicitly scoping a conversion constructor from `iterator` to `const_iterator`. http://lab.llvm.org:8011/builders/sanitizer-windows/builds/5931/ llvm-svn: 240748
This commit is contained in:
parent
889d722e87
commit
8caacfabfc
|
@ -512,7 +512,8 @@ public:
|
|||
|
||||
public:
|
||||
const_iterator() = default;
|
||||
const_iterator(iterator X) : N(X.N) {}
|
||||
// Placate MSVC by explicitly scoping 'iterator'.
|
||||
const_iterator(IntrusiveBackList::iterator X) : N(X.N) {}
|
||||
explicit const_iterator(const T *N) : N(N) {}
|
||||
|
||||
const_iterator &operator++() {
|
||||
|
|
Loading…
Reference in New Issue