Displaying 3 results from an estimated 3 matches for "mergepotenti".
2008 May 23
3
[LLVMdev] Iterator issue in BranchFolder::RemoveBlocksWithHash?
Hi all,
I updated from 2.2 to the latest SVN head and I now get a debug assert in
BranchFolder::RemoveBlocksWithHash: "vector iterators incompatible". I'm
using Visual C++ 2005. I think this is the culprit code:
MergePotentials.erase(CurMPIter);
if (CurMPIter==B)
break;
The erase clears the _Mycont field (i.e. the iterator's container), while
the == expects CurMPIter and B to have the same container. I'm no STL guru
but it seems wrong to first erase an element and then try to compare it. I
trac...
2008 May 23
0
[LLVMdev] Iterator issue in BranchFolder::RemoveBlocksWithHash?
...8, at 4:10 AM, Nicolas Capens wrote:
> Hi all,
>
> I updated from 2.2 to the latest SVN head and I now get a debug
> assert in BranchFolder::RemoveBlocksWithHash: “vector iterators
> incompatible”. I’m using Visual C++ 2005. I think this is the
> culprit code:
>
> MergePotentials.erase(CurMPIter);
> if (CurMPIter==B)
> break;
>
> The erase clears the _Mycont field (i.e. the iterator’s container),
> while the == expects CurMPIter and B to have the same container. I’m
> no STL guru but it seems wrong to first erase an element and then
>...
2008 May 27
2
[LLVMdev] Iterator issue in BranchFolder::RemoveBlocksWithHash?
...AM, Nicolas Capens wrote:
>
>> I updated from 2.2 to the latest SVN head and I now get a debug
>> assert in BranchFolder::RemoveBlocksWithHash: “vector iterators
>> incompatible”. I’m using Visual C++ 2005. I think this is the
>> culprit code:
>>
>> MergePotentials.erase(CurMPIter);
>> if (CurMPIter==B)
>> break;
>>
>> The erase clears the _Mycont field (i.e. the iterator’s container),
>> while the == expects CurMPIter and B to have the same container.
>> I’m no STL guru but it seems wrong to first erase an...