gravatar
deba@inf.elte.hu
deba@inf.elte.hu
Fix ImmediateDetach in AlterationObserver (ticket #130)
0 1 0
default
1 file changed with 3 insertions and 3 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -411,5 +411,5 @@
411 411
        } catch (const ImmediateDetach&) {
412
          it = _observers.erase(it);
413 412
          (*it)->_index = _observers.end();
414 413
          (*it)->_notifier = 0;
414
          it = _observers.erase(it);
415 415
        }
... ...
@@ -431,5 +431,5 @@
431 431
        } catch (const ImmediateDetach&) {
432
          it = _observers.erase(it);
433 432
          (*it)->_index = _observers.end();
434 433
          (*it)->_notifier = 0;
434
          it = _observers.erase(it);
435 435
        }
... ...
@@ -470,5 +470,5 @@
470 470
        } catch (const ImmediateDetach&) {
471
          it = _observers.erase(it);
472 471
          (*it)->_index = _observers.end();
473 472
          (*it)->_notifier = 0;
473
          it = _observers.erase(it);
474 474
        }
0 comments (0 inline)