Skip to content

Commit

Permalink
add another overload for begin()/end()
Browse files Browse the repository at this point in the history
msvc needs this one as well
  • Loading branch information
notspiff committed Jan 21, 2017
1 parent 8e48a59 commit b15aecc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/FileItem.h
Expand Up @@ -755,6 +755,8 @@ class CFileItemList : public CFileItem

VECFILEITEMS::const_iterator begin() { return m_items.cbegin(); }
VECFILEITEMS::const_iterator end() { return m_items.cend(); }
VECFILEITEMS::const_iterator begin() const { return m_items.begin(); }
VECFILEITEMS::const_iterator end() const { return m_items.end(); }
VECFILEITEMS::const_iterator cbegin() const { return m_items.begin(); }
VECFILEITEMS::const_iterator cend() const { return m_items.end(); }
private:
Expand Down

0 comments on commit b15aecc

Please sign in to comment.