mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-08-13 18:45:53 +08:00
Path iterator warning fixed.
This commit is contained in:
parent
22da1c7698
commit
653ba67e23
@ -362,8 +362,8 @@ public:
|
|||||||
iterator operator--(int);
|
iterator operator--(int);
|
||||||
bool operator==(const iterator& other) const;
|
bool operator==(const iterator& other) const;
|
||||||
bool operator!=(const iterator& other) const;
|
bool operator!=(const iterator& other) const;
|
||||||
const reference operator*() const;
|
reference operator*() const;
|
||||||
const pointer operator->() const;
|
pointer operator->() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
string_type::const_iterator increment(const std::string::const_iterator& pos) const;
|
string_type::const_iterator increment(const std::string::const_iterator& pos) const;
|
||||||
@ -2420,12 +2420,12 @@ inline bool path::iterator::operator!=(const path::iterator& other) const
|
|||||||
return _iter != other._iter;
|
return _iter != other._iter;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const path::iterator::reference path::iterator::operator*() const
|
inline path::iterator::reference path::iterator::operator*() const
|
||||||
{
|
{
|
||||||
return _current;
|
return _current;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline const path::iterator::pointer path::iterator::operator->() const
|
inline path::iterator::pointer path::iterator::operator->() const
|
||||||
{
|
{
|
||||||
return &_current;
|
return &_current;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user