Commit 3e9087c4 authored by Janis Born's avatar Janis Born

fix ambiguous default ctor of ObjectReferenceIterator

parent 4196b597
Pipeline #2282 passed with stage
in 78 minutes and 7 seconds
......@@ -528,12 +528,12 @@ class DLLEXPORT ObjectIterator {
class DLLEXPORT ObjectReferenceIterator : public std::iterator<std::forward_iterator_tag, BaseObjectData>
{
public:
ObjectReferenceIterator(IteratorRestriction _restriction = ALL_OBJECTS, DataType _dataType = DATA_ALL) :
explicit ObjectReferenceIterator(IteratorRestriction _restriction = ALL_OBJECTS, DataType _dataType = DATA_ALL) :
it_(_restriction, _dataType)
{
}
explicit ObjectReferenceIterator(BaseObjectData* _pos = NULL, IteratorRestriction _restriction = ALL_OBJECTS, DataType _dataType = DATA_ALL) :
explicit ObjectReferenceIterator(BaseObjectData* _pos, IteratorRestriction _restriction = ALL_OBJECTS, DataType _dataType = DATA_ALL) :
it_(_pos, _restriction, _dataType)
{
}
......
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