Merge pull request #13153 from savuor:fix/filenodeit_member_ptr

pull/13167/head
Alexander Alekhin 6 years ago
commit ce46cc9852
  1. 2
      modules/core/include/opencv2/core/persistence.hpp
  2. 5
      modules/core/src/persistence.cpp

@ -642,8 +642,6 @@ public:
//! returns the currently observed element
FileNode operator *() const;
//! accesses the currently observed element methods
FileNode operator ->() const;
//! moves iterator to the next node
FileNodeIterator& operator ++ ();

@ -2388,11 +2388,6 @@ FileNode FileNodeIterator::operator *() const
return FileNode(idx < nodeNElems ? fs : 0, blockIdx, ofs);
}
FileNode FileNodeIterator::operator ->() const
{
return FileNode(idx < nodeNElems ? fs : 0, blockIdx, ofs);
}
FileNodeIterator& FileNodeIterator::operator ++ ()
{
if( idx == nodeNElems || !fs )

Loading…
Cancel
Save