mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 10:25:18 +00:00
lib: cpp: add missing functional and cmath includes
Manual runs of the autotools docker script were failing due to `std::functional` not being a member of `std`. Similar error messages for `std::ceil` and `std::log`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
This commit is contained in:
parent
ef3d52e04c
commit
0a29a48e5a
@ -20,6 +20,7 @@
|
||||
#ifndef _THRIFT_TASYNC_BUFFER_PROCESSOR_H_
|
||||
#define _THRIFT_TASYNC_BUFFER_PROCESSOR_H_ 1
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <thrift/transport/TBufferTransports.h>
|
||||
|
||||
|
@ -20,9 +20,11 @@
|
||||
#ifndef _THRIFT_TASYNCPROCESSOR_H_
|
||||
#define _THRIFT_TASYNCPROCESSOR_H_ 1
|
||||
|
||||
#include <thrift/protocol/TProtocol.h>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include <thrift/TProcessor.h>
|
||||
#include <thrift/protocol/TProtocol.h>
|
||||
|
||||
namespace apache {
|
||||
namespace thrift {
|
||||
|
@ -20,9 +20,11 @@
|
||||
#ifndef _THRIFT_CONCURRENCY_FUNCTION_RUNNER_H
|
||||
#define _THRIFT_CONCURRENCY_FUNCTION_RUNNER_H 1
|
||||
|
||||
#include <thrift/concurrency/Thread.h>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include <thrift/concurrency/Thread.h>
|
||||
|
||||
namespace apache {
|
||||
namespace thrift {
|
||||
namespace concurrency {
|
||||
|
@ -17,8 +17,9 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
|
||||
#include <thrift/transport/TBufferTransports.h>
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
#ifndef _THRIFT_TRANSPORT_TSERVERSOCKET_H_
|
||||
#define _THRIFT_TRANSPORT_TSERVERSOCKET_H_ 1
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <thrift/concurrency/Mutex.h>
|
||||
#include <thrift/transport/PlatformSocket.h>
|
||||
#include <thrift/transport/TServerTransport.h>
|
||||
|
Loading…
Reference in New Issue
Block a user