Commit 4fb661ab authored by hybrid's avatar hybrid

Make Iterator types friend to each other

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4198 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 77c2ec88
...@@ -136,6 +136,7 @@ class map ...@@ -136,6 +136,7 @@ class map
//! Normal Iterator //! Normal Iterator
class Iterator class Iterator
{ {
friend class ConstIterator;
public: public:
Iterator() : Root(0), Cur(0) {} Iterator() : Root(0), Cur(0) {}
...@@ -283,6 +284,7 @@ class map ...@@ -283,6 +284,7 @@ class map
//! Const Iterator //! Const Iterator
class ConstIterator class ConstIterator
{ {
friend class Iterator;
public: public:
ConstIterator() : Root(0), Cur(0) {} ConstIterator() : Root(0), Cur(0) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment