Commit ca83561 1 parent dea1b9e commit ca83561 Copy full SHA for ca83561
File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,14 @@ class BlockDeduplicator
64
64
// / Iterator that skips tags and skips to the end if (all branches of) the control
65
65
// / flow does not continue to the next instruction.
66
66
// / If the arguments are supplied to the constructor, replaces items on the fly.
67
- struct BlockIterator : std::iterator<std::forward_iterator_tag, AssemblyItem const >
67
+ struct BlockIterator
68
68
{
69
69
public:
70
+ using iterator_category = std::forward_iterator_tag;
71
+ using value_type = AssemblyItem const ;
72
+ using difference_type = long ;
73
+ using pointer = AssemblyItem const *;
74
+ using reference = AssemblyItem const &;
70
75
BlockIterator (
71
76
AssemblyItems::const_iterator _it,
72
77
AssemblyItems::const_iterator _end,
You can’t perform that action at this time.
0 commit comments