Fixed PREVENT "Using invalid iterator" dali-2014-wk22-release
authorjonghyun.ho <jonghyun.ho@samsung.com>
Wed, 28 May 2014 01:35:54 +0000 (10:35 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 29 May 2014 14:06:29 +0000 (15:06 +0100)
commit846ed24dfdadc75759e95d188db6bbbf3bff93ae
treebd28d2911187c26f0c77888a8f96bcf4aab10318
parentfba0fc8323d39ecd14992e7ef6c9429cf017d82b
Fixed PREVENT "Using invalid iterator"

[problem]     Using invalid iterator
[cause]       std::vector::erase invalidates interator "iter".
               then invalidated "iter" is used again in next while loop.
[solution]    "iter" is set again once it's invalidated.
dali/internal/update/gestures/scene-graph-pan-gesture.cpp