diff options
author | vng <viktor.govako@gmail.com> | 2012-05-30 03:40:17 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:00 +0300 |
commit | 3afb02b53bfd6afca0f9e23c39d581beb355ddc3 (patch) | |
tree | 98195e2e163ecbf4fa89f75042a0d1a485a65f81 | |
parent | 6e37e711e6546dd886d2e55664e2995c2e2f95d7 (diff) |
Minor changes.
-rw-r--r-- | geometry/tree4d.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/tree4d.hpp b/geometry/tree4d.hpp index 379cd24369..c2e64a2e15 100644 --- a/geometry/tree4d.hpp +++ b/geometry/tree4d.hpp @@ -155,8 +155,8 @@ namespace m4 if (!comp(obj, isect[i]->m_val)) return; - for (typename store_vec_t::const_iterator i = isect.begin(); i != isect.end(); ++i) - m_tree.erase(**i); + for (size_t i = 0; i < isect.size(); ++i) + m_tree.erase(*isect[i]); Add(obj, rect); } |