mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Fix build with g++ 4.9
This commit is contained in:
parent
cc2a5e8cc5
commit
2855180dd9
@ -37,13 +37,13 @@ namespace doc {
|
|||||||
|
|
||||||
void onAddDocument(Document* doc) override {
|
void onAddDocument(Document* doc) override {
|
||||||
m_activeDoc = doc;
|
m_activeDoc = doc;
|
||||||
notifyActiveSiteChanged();
|
this->notifyActiveSiteChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onRemoveDocument(Document* doc) override {
|
void onRemoveDocument(Document* doc) override {
|
||||||
if (m_activeDoc == doc) {
|
if (m_activeDoc == doc) {
|
||||||
m_activeDoc = nullptr;
|
m_activeDoc = nullptr;
|
||||||
notifyActiveSiteChanged();
|
this->notifyActiveSiteChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user