Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/geometry/HashGrid.cpp')
-rw-r--r--source/blender/freestyle/intern/geometry/HashGrid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/geometry/HashGrid.cpp b/source/blender/freestyle/intern/geometry/HashGrid.cpp
index b0ad9e0f276..3752fc2f32a 100644
--- a/source/blender/freestyle/intern/geometry/HashGrid.cpp
+++ b/source/blender/freestyle/intern/geometry/HashGrid.cpp
@@ -37,8 +37,8 @@
void HashGrid::clear()
{
if (!_cells.empty()) {
- for (GridHashTable::iterator it = _cells.begin(); it !=_cells.end(); it++) {
- Cell* cell = (*it).second;
+ for (GridHashTable::iterator it = _cells.begin(); it != _cells.end(); it++) {
+ Cell *cell = (*it).second;
delete cell;
}
_cells.clear();