summaryrefslogtreecommitdiff
path: root/lib/cpp
diff options
context:
space:
mode:
authorcyy <cyyever@outlook.com>2019-01-12 13:18:24 +0800
committercyy <cyyever@outlook.com>2019-01-22 10:36:18 +0800
commitd12dbed670acb9fbe65662fb72d2069e5ee6d0a0 (patch)
treed3e0ed3a18f1706615e0e9d15746b98fcb5ccf48 /lib/cpp
parent7190ca7a3d8d259730580a9979519ddd6a344619 (diff)
downloadthrift-d12dbed670acb9fbe65662fb72d2069e5ee6d0a0.tar.gz
remove unused headers
Diffstat (limited to 'lib/cpp')
-rw-r--r--lib/cpp/src/thrift/concurrency/Monitor.h6
-rw-r--r--lib/cpp/src/thrift/concurrency/Thread.h2
-rw-r--r--lib/cpp/src/thrift/concurrency/TimerManager.h1
3 files changed, 0 insertions, 9 deletions
diff --git a/lib/cpp/src/thrift/concurrency/Monitor.h b/lib/cpp/src/thrift/concurrency/Monitor.h
index 2399a9879..11a145d55 100644
--- a/lib/cpp/src/thrift/concurrency/Monitor.h
+++ b/lib/cpp/src/thrift/concurrency/Monitor.h
@@ -20,15 +20,9 @@
#ifndef _THRIFT_CONCURRENCY_MONITOR_H_
#define _THRIFT_CONCURRENCY_MONITOR_H_ 1
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-
#include <thrift/concurrency/Exception.h>
#include <thrift/concurrency/Mutex.h>
-#include <boost/utility.hpp>
-
namespace apache {
namespace thrift {
namespace concurrency {
diff --git a/lib/cpp/src/thrift/concurrency/Thread.h b/lib/cpp/src/thrift/concurrency/Thread.h
index cacd401d3..f8a3f5157 100644
--- a/lib/cpp/src/thrift/concurrency/Thread.h
+++ b/lib/cpp/src/thrift/concurrency/Thread.h
@@ -20,11 +20,9 @@
#ifndef _THRIFT_CONCURRENCY_THREAD_H_
#define _THRIFT_CONCURRENCY_THREAD_H_ 1
-#include <stdint.h>
#include <memory>
#include <thread>
-#include <thrift/thrift-config.h>
#include <thrift/concurrency/Monitor.h>
namespace apache {
diff --git a/lib/cpp/src/thrift/concurrency/TimerManager.h b/lib/cpp/src/thrift/concurrency/TimerManager.h
index e09ecf204..4e291e3cb 100644
--- a/lib/cpp/src/thrift/concurrency/TimerManager.h
+++ b/lib/cpp/src/thrift/concurrency/TimerManager.h
@@ -20,7 +20,6 @@
#ifndef _THRIFT_CONCURRENCY_TIMERMANAGER_H_
#define _THRIFT_CONCURRENCY_TIMERMANAGER_H_ 1
-#include <thrift/concurrency/Exception.h>
#include <thrift/concurrency/Monitor.h>
#include <thrift/concurrency/ThreadFactory.h>