diff options
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/NodeShape.cpp')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/NodeShape.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/NodeShape.cpp b/source/blender/freestyle/intern/scene_graph/NodeShape.cpp index e55b2fb625f..cf7a609b347 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeShape.cpp +++ b/source/blender/freestyle/intern/scene_graph/NodeShape.cpp @@ -27,7 +27,7 @@ NodeShape::~NodeShape() { vector<Rep *>::iterator rep; - if (0 != _Shapes.size()) { + if (!_Shapes.empty()) { for (rep = _Shapes.begin(); rep != _Shapes.end(); ++rep) { int refCount = (*rep)->destroy(); if (0 == refCount) { |