removed FileNodeIterator::operator->()

pull/13153/head
Rostislav Vasilikhin 6 years ago
parent 8b7f805642
commit d6b2739525
  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