Changeset b3a7151 in mainline for uspace/lib/cpp/include


Ignore:
Timestamp:
2025-10-15T17:08:59Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
ec3ef80f
Parents:
5e0ea6f
Message:

Add missing → operator to list_iterator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/adt/list.hpp

    r5e0ea6f rb3a7151  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2019 Jaroslav Jindrak
    34 * All rights reserved.
     
    8081                }
    8182
     83                pointer operator->() const
     84                {
     85                    return &current_->value;
     86                }
     87
    8288                list_const_iterator& operator++()
    8389                {
     
    209215                    return current_->value;
    210216                }
     217
     218                pointer operator->() const
     219                {
     220                    return &current_->value;
     221                }
    211222
    212223                list_iterator& operator++()
Note: See TracChangeset for help on using the changeset viewer.