summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Friedt <cfriedt@fb.com>2022-09-26 16:17:08 -0400
committerJens Geyer <Jens-G@users.noreply.github.com>2022-10-23 11:17:47 +0200
commitefea6975016246ac7f90bd04b188ead8a32467ac (patch)
treebd0313f5e065dd7ea1266715c46fbf56efed5c2e
parent19c13b4cc697410b586b243123522c43e68e2f0c (diff)
downloadthrift-efea6975016246ac7f90bd04b188ead8a32467ac.tar.gz
lib: cpp: thrift: include functional in TServerFramework
Use of `std::placeholders::_1` requires `<functional>`. Signed-off-by: Chris Friedt <cfriedt@fb.com>
-rw-r--r--lib/cpp/src/thrift/server/TServerFramework.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cpp/src/thrift/server/TServerFramework.cpp b/lib/cpp/src/thrift/server/TServerFramework.cpp
index 302cbf166..2431bc2d6 100644
--- a/lib/cpp/src/thrift/server/TServerFramework.cpp
+++ b/lib/cpp/src/thrift/server/TServerFramework.cpp
@@ -18,6 +18,7 @@
*/
#include <algorithm>
+#include <functional>
#include <stdexcept>
#include <stdint.h>
#include <thrift/server/TServerFramework.h>