From: Matthew Fernandez Date: Sat, 26 Jun 2021 18:28:35 +0000 (-0700) Subject: remove unnecessary clear of Blocks set X-Git-Tag: 2.48.0~23^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3754ce9844b8e309971f40d222b8b0ee786f2636;p=graphviz remove unnecessary clear of Blocks set The object is being destructed, so the underlying set is automatically cleared. --- diff --git a/lib/vpsc/blocks.cpp b/lib/vpsc/blocks.cpp index 515263d47..72d74a42b 100644 --- a/lib/vpsc/blocks.cpp +++ b/lib/vpsc/blocks.cpp @@ -46,7 +46,6 @@ Blocks::~Blocks() for(set::iterator i=begin();i!=end();i++) { delete *i; } - clear(); } /**