mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +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