mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-12 16:14:10 +00:00
Merge pull request #666 from agateau/build-fixes
Fix build with g++ 4.9
This commit is contained in:
commit
0bd85f93a5
@ -37,13 +37,13 @@ namespace doc {
|
||||
|
||||
void onAddDocument(Document* doc) override {
|
||||
m_activeDoc = doc;
|
||||
notifyActiveSiteChanged();
|
||||
this->notifyActiveSiteChanged();
|
||||
}
|
||||
|
||||
void onRemoveDocument(Document* doc) override {
|
||||
if (m_activeDoc == doc) {
|
||||
m_activeDoc = nullptr;
|
||||
notifyActiveSiteChanged();
|
||||
this->notifyActiveSiteChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user