mirror of https://github.com/odrling/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
|
@ -24,7 +24,7 @@ namespace agi {
|
||||||
|
|
||||||
void OptionValue::NotifyChanged() {
|
void OptionValue::NotifyChanged() {
|
||||||
for (ChangeListenerSet::const_iterator nfcb = listeners.begin(); nfcb != listeners.end(); ++nfcb) {
|
for (ChangeListenerSet::const_iterator nfcb = listeners.begin(); nfcb != listeners.end(); ++nfcb) {
|
||||||
nfcb->first->*(nfcb->second);
|
(nfcb->first->*(nfcb->second))(*this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue