forked from mia/Aegisub
Lesson: Don't code when tired.
Make a complete function call of the notify loop body, instead of some half syntax. Originally committed to SVN as r4417.
This commit is contained in:
parent
1768a8138d
commit
709718ffb6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace agi {
|
|||
|
||||
void OptionValue::NotifyChanged() {
|
||||
for (ChangeListenerSet::const_iterator nfcb = listeners.begin(); nfcb != listeners.end(); ++nfcb) {
|
||||
nfcb->first->*(nfcb->second);
|
||||
(nfcb->first->*(nfcb->second))(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue