mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 22:18:30 +00:00
Fix issue #29: error using a non-const reference as parameter
in NullableIterator::setIterator() when a const-reference is the expected type.
This commit is contained in:
parent
8cc1e0e7b7
commit
a5056e1551
@ -68,7 +68,7 @@ public:
|
|||||||
return m_iterator;
|
return m_iterator;
|
||||||
}
|
}
|
||||||
|
|
||||||
void setIterator(iterator& it) {
|
void setIterator(const iterator& it) {
|
||||||
m_isNull = false;
|
m_isNull = false;
|
||||||
m_iterator = it;
|
m_iterator = it;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user