commit | e6e7e62981e285d6d7e023a618be3bafa514edae | [log] [tgz] |
---|---|---|
author | proller <proller@users.noreply.github.com> | Mon Dec 10 16:45:06 2018 +0300 |
committer | James E. King III <jking@apache.org> | Mon Dec 10 18:44:23 2018 -0500 |
tree | 618556801474f8f5944d6b4d7ed779bacbeb1266 | |
parent | db61f10497bcf069da03537629dcc79b0523ebe4 [diff] |
Correct c++17 definition
diff --git a/lib/cpp/src/thrift/transport/TSocketPool.cpp b/lib/cpp/src/thrift/transport/TSocketPool.cpp index 2a983e3..b5cfe26 100644 --- a/lib/cpp/src/thrift/transport/TSocketPool.cpp +++ b/lib/cpp/src/thrift/transport/TSocketPool.cpp
@@ -189,7 +189,7 @@ } if (randomize_ && numServers > 1) { -#if __cplusplus >= 201500L // c++17 +#if __cplusplus >= 201703L std::random_device rng; std::mt19937 urng(rng()); std::shuffle(servers_.begin(), servers_.end(), urng);