Commit f602537b authored by Janis Born's avatar Janis Born

use public inheritance for ObjectReferenceIterator std::iterator interface

parent d9f765b6
......@@ -525,7 +525,7 @@ class DLLEXPORT ObjectIterator {
* \brief Helper class that wraps an ObjectIterator to return a reference
* instead of a pointer
*/
class DLLEXPORT ObjectReferenceIterator : std::iterator<std::forward_iterator_tag, BaseObjectData>
class DLLEXPORT ObjectReferenceIterator : public std::iterator<std::forward_iterator_tag, BaseObjectData>
{
public:
ObjectReferenceIterator(IteratorRestriction _restriction = ALL_OBJECTS, DataType _dataType = DATA_ALL) :
......
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