commit | 44ee32cef57cbbd0ad62dfa026f0ee5e746f5c2b | [log] [tgz] |
---|---|---|
author | proller <proller@users.noreply.github.com> | Mon Dec 10 19:16:30 2018 +0300 |
committer | James E. King III <jking@apache.org> | Mon Dec 10 18:44:23 2018 -0500 |
tree | 1c962a0fbaa531c2c140918175a21054d1a3eb31 | |
parent | e6e7e62981e285d6d7e023a618be3bafa514edae [diff] |
Fix c++98 build
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>