Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Aug 4, 2024
1 parent e0f734b commit d09e5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xtd.core/include/xtd/collections/generic/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ namespace xtd {
/// @}

private:
base_type::iterator to_base_type_iterator(const iterator& value) const noexcept {return items_.begin() + (value - begin());}
iterator to_iterator(const base_type::iterator& value) const noexcept {return begin() + (value - items_.begin());}
base_type::iterator to_base_type_iterator(iterator value) noexcept {return items_.begin() + (value - begin());}
iterator to_iterator(base_type::iterator value) noexcept {return begin() + (value - items_.begin());}

base_type items_;
xtd::int64 version_ = 0;
Expand Down

0 comments on commit d09e5b1

Please sign in to comment.