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:
ca545bd
)
THRIFT-2607 ThreadManager.cpp warning on clang++ 3.4
author
Roger Meier
<roger@apache.org>
Mon, 7 Jul 2014 19:55:27 +0000
(21:55 +0200)
committer
Roger Meier
<roger@apache.org>
Mon, 7 Jul 2014 19:55:27 +0000
(21:55 +0200)
Patch: Konrad Grochowski
lib/cpp/src/thrift/concurrency/ThreadManager.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/thrift/concurrency/ThreadManager.cpp
b/lib/cpp/src/thrift/concurrency/ThreadManager.cpp
index
f2c0fa5
..
1f897ba
100644
(file)
--- a/
lib/cpp/src/thrift/concurrency/ThreadManager.cpp
+++ b/
lib/cpp/src/thrift/concurrency/ThreadManager.cpp
@@
-553,8
+553,7
@@
class SimpleThreadManager : public ThreadManager::Impl {
public:
SimpleThreadManager(size_t workerCount=4, size_t pendingTaskCountMax=0) :
workerCount_(workerCount),
- pendingTaskCountMax_(pendingTaskCountMax),
- firstTime_(true) {
+ pendingTaskCountMax_(pendingTaskCountMax) {
}
void start() {
@@
-566,7
+565,6
@@
class SimpleThreadManager : public ThreadManager::Impl {
private:
const size_t workerCount_;
const size_t pendingTaskCountMax_;
- bool firstTime_;
Monitor monitor_;
};