This is an automated email from the ASF dual-hosted git repository.

jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit 44ee32cef57cbbd0ad62dfa026f0ee5e746f5c2b
Author: proller <prol...@users.noreply.github.com>
AuthorDate: Mon Dec 10 19:16:30 2018 +0300

    Fix c++98 build
---
 lib/cpp/src/thrift/transport/TSocketPool.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp 
b/lib/cpp/src/thrift/transport/TSocketPool.cpp
index b5cfe26..a34d135 100644
--- a/lib/cpp/src/thrift/transport/TSocketPool.cpp
+++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp
@@ -21,7 +21,9 @@
 
 #include <algorithm>
 #include <iostream>
+#if __cplusplus >= 201703L
 #include <random>
+#endif
 
 #include <thrift/transport/TSocketPool.h>
 

Reply via email to