diff options
author | proller <proller@users.noreply.github.com> | 2018-12-10 19:16:30 +0300 |
---|---|---|
committer | James E. King III <jking@apache.org> | 2018-12-10 18:44:23 -0500 |
commit | 44ee32cef57cbbd0ad62dfa026f0ee5e746f5c2b (patch) | |
tree | 1c962a0fbaa531c2c140918175a21054d1a3eb31 | |
parent | e6e7e62981e285d6d7e023a618be3bafa514edae (diff) | |
download | thrift-44ee32cef57cbbd0ad62dfa026f0ee5e746f5c2b.tar.gz |
Fix c++98 build
-rw-r--r-- | lib/cpp/src/thrift/transport/TSocketPool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp index b5cfe264e..a34d13599 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> |