X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=include%2FirrMap.h;h=2db9340a808d7af5a625a95fe46f7824afe836e9;hb=e469c54f76f6d24f92389b4e8a27b9cce7152888;hp=430f0adc54365104b638c9b6bffb23ff502c6c0a;hpb=2ae2a551a6290f46734307bbfdafea4b1a2cf2ba;p=irrlicht.git diff --git a/include/irrMap.h b/include/irrMap.h index 430f0ad..2db9340 100644 --- a/include/irrMap.h +++ b/include/irrMap.h @@ -140,9 +140,6 @@ class map reset(); } - // Copy constructor - Iterator(const Iterator& src) : Root(src.Root), Cur(src.Cur) {} - void reset(bool atLowest=true) { if (atLowest) @@ -161,13 +158,6 @@ class map return Cur; } - Iterator& operator=(const Iterator& src) - { - Root = src.Root; - Cur = src.Cur; - return (*this); - } - void operator++(int) { inc(); @@ -287,8 +277,7 @@ class map reset(); } - // Copy constructor - ConstIterator(const ConstIterator& src) : Root(src.Root), Cur(src.Cur) {} + // Constructor(Iterator) ConstIterator(const Iterator& src) : Root(src.Root), Cur(src.Cur) {} void reset(bool atLowest=true) @@ -309,13 +298,6 @@ class map return Cur; } - ConstIterator& operator=(const ConstIterator& src) - { - Root = src.Root; - Cur = src.Cur; - return (*this); - } - void operator++(int) { inc(); @@ -453,13 +435,6 @@ class map return Cur; } - ParentFirstIterator& operator=(const ParentFirstIterator& src) - { - Root = src.Root; - Cur = src.Cur; - return (*this); - } - void operator++(int) { inc(); @@ -552,13 +527,6 @@ class map return Cur; } - ParentLastIterator& operator=(const ParentLastIterator& src) - { - Root = src.Root; - Cur = src.Cur; - return (*this); - } - void operator++(int) { inc();