mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-28 15:20:15 +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;
|
||||
}
|
||||
|
||||
void setIterator(iterator& it) {
|
||||
void setIterator(const iterator& it) {
|
||||
m_isNull = false;
|
||||
m_iterator = it;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user