Author: dreiss
Date: Thu Jun  4 00:32:50 2009
New Revision: 781628

URL: http://svn.apache.org/viewvc?rev=781628&view=rev
Log:
THRIFT-465. cpp: Fix some STL misuse in the concurrency library test

Modified:
    incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h

Modified: 
incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h?rev=781628&r1=781627&r2=781628&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h 
(original)
+++ incubator/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h 
Thu Jun  4 00:32:50 2009
@@ -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;
     }
 


Reply via email to