Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5fa20da
)
THRIFT-465. cpp: Fix some STL misuse in the concurrency library test
author
David Reiss
<dreiss@apache.org>
Thu, 4 Jun 2009 00:32:50 +0000
(
00:32
+0000)
committer
David Reiss
<dreiss@apache.org>
Thu, 4 Jun 2009 00:32:50 +0000
(
00:32
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@781628
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/concurrency/test/ThreadFactoryTests.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
index
a98dab6
..
e4f98a9
100644
(file)
--- a/
lib/cpp/src/concurrency/test/ThreadFactoryTests.h
+++ b/
lib/cpp/src/concurrency/test/ThreadFactoryTests.h
@@
-144,10
+144,6
@@
public:
}
}
- 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;
}