You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line of code contains an operator== comparing two iterators that can come from different containers.
According to the standard comparing iterators from different contains is undefined. Once such example is here.
In the code finalIt could be from either the src or dst. When it's from the dst, this will trigger the following exception on Windows if you compile with STL iterator debugging:
_STL_VERIFY(this->_Getcont() == _Right._Getcont(), "vector iterators incompatible");
It should be a simple enough fix, but I wanted to log an issue to get your opinion on it and to see if there are other places that would need to be fixed.
Steps to Reproduce
Compile on Windows with iterator debugging enabled.
Invoke the SdfCopySpec function.
System Information (OS, Hardware)
Windows 10
Build Flags
_ITERATOR_DEBUG_LEVEL > 0
The text was updated successfully, but these errors were encountered:
Description of Issue
This line of code contains an operator== comparing two iterators that can come from different containers.
According to the standard comparing iterators from different contains is undefined. Once such example is here.
In the code finalIt could be from either the src or dst. When it's from the dst, this will trigger the following exception on Windows if you compile with STL iterator debugging:
_STL_VERIFY(this->_Getcont() == _Right._Getcont(), "vector iterators incompatible");
It should be a simple enough fix, but I wanted to log an issue to get your opinion on it and to see if there are other places that would need to be fixed.
Steps to Reproduce
System Information (OS, Hardware)
Windows 10
Build Flags
_ITERATOR_DEBUG_LEVEL > 0
The text was updated successfully, but these errors were encountered: