mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-19 15:39:46 +00:00
Make DirIterator forward only
This commit is contained in:
parent
32d32f63cb
commit
2a7b8437ed
2 changed files with 1 additions and 13 deletions
|
@ -28,7 +28,7 @@ namespace mchlib {
|
|||
class SetListingView;
|
||||
|
||||
namespace implem {
|
||||
class DirIterator : public boost::iterator_facade<DirIterator, FileRecordData, boost::random_access_traversal_tag> {
|
||||
class DirIterator : public boost::iterator_facade<DirIterator, FileRecordData, boost::forward_traversal_tag> {
|
||||
friend class mchlib::SetListingView;
|
||||
friend class boost::iterator_core_access;
|
||||
typedef boost::iterator_facade<DirIterator, FileRecordData, boost::random_access_traversal_tag> base_class;
|
||||
|
@ -43,8 +43,6 @@ namespace mchlib {
|
|||
|
||||
private:
|
||||
void increment ( void );
|
||||
void decrement ( void );
|
||||
void advance ( std::size_t parAdvance );
|
||||
difference_type distance_to ( const DirIterator& parOther ) const;
|
||||
bool equal ( const DirIterator& parOther ) const;
|
||||
reference dereference ( void ) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue