From: David Reiss Date: Thu, 4 Jun 2009 00:32:50 +0000 (+0000) Subject: THRIFT-465. cpp: Fix some STL misuse in the concurrency library test X-Git-Tag: 0.2.0~91 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=8584b6ffe799c19e0b843be4ded394934112c01b;p=common%2Fthrift.git THRIFT-465. cpp: Fix some STL misuse in the concurrency library test git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@781628 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h index a98dab6b..e4f98a9e 100644 --- a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h +++ b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h @@ -144,10 +144,6 @@ public: } } - for (std::set >::const_iterator thread = threads.begin(); thread != threads.end(); thread++) { - threads.erase(*thread); - } - std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl; }