You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2014/07/07 21:55:55 UTC
git commit: THRIFT-2607 ThreadManager.cpp warning on clang++ 3.4
Repository: thrift
Updated Branches:
refs/heads/master ca545bd42 -> 9a242c02f
THRIFT-2607 ThreadManager.cpp warning on clang++ 3.4
Patch: Konrad Grochowski
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9a242c02
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9a242c02
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9a242c02
Branch: refs/heads/master
Commit: 9a242c02f6bb1d6c851d75d38522527ebdfbc12c
Parents: ca545bd
Author: Roger Meier <ro...@apache.org>
Authored: Mon Jul 7 21:55:27 2014 +0200
Committer: Roger Meier <ro...@apache.org>
Committed: Mon Jul 7 21:55:27 2014 +0200
----------------------------------------------------------------------
lib/cpp/src/thrift/concurrency/ThreadManager.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/9a242c02/lib/cpp/src/thrift/concurrency/ThreadManager.cpp
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/concurrency/ThreadManager.cpp b/lib/cpp/src/thrift/concurrency/ThreadManager.cpp
index f2c0fa5..1f897ba 100644
--- 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_;
};