We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662d742 commit d83ac3eCopy full SHA for d83ac3e
engines/ep/src/mutation_log.h
@@ -306,9 +306,13 @@ class MutationLog {
306
*
307
* A ReadException may be thrown at any point along iteration.
308
*/
309
- class iterator : public std::iterator<std::input_iterator_tag,
310
- const MutationLogEntry> {
+ class iterator {
311
public:
+ using iterator_category = std::input_iterator_tag;
312
+ using value_type = const MutationLogEntry;
313
+ using difference_type = const MutationLogEntry;
314
+ using pointer = const MutationLogEntry*;
315
+ using reference = const MutationLogEntry&;
316
317
iterator(const iterator& mit);
318
0 commit comments