commit | 8584b6ffe799c19e0b843be4ded394934112c01b | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Thu Jun 04 00:32:50 2009 +0000 |
committer | David Reiss <dreiss@apache.org> | Thu Jun 04 00:32:50 2009 +0000 |
tree | b80817e55c47b43b690bb4c3f84ad7341da2036e | |
parent | 5fa20da4a5a21a90cdf4ee7000c56d254d77f066 [diff] |
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 a98dab6..e4f98a9 100644 --- a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h +++ b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
@@ -144,10 +144,6 @@ } } - for (std::set<shared_ptr<Thread> >::const_iterator thread = threads.begin(); thread != threads.end(); thread++) { - threads.erase(*thread); - } - std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl; }