mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
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/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
48362d63cf
commit
226f8f7de9
@ -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…
x
Reference in New Issue
Block a user