diff options
author | Dave Houlton <euclid@lindenlab.com> | 2020-07-21 20:11:56 +0000 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2020-07-21 20:11:56 +0000 |
commit | 8153e7d63923a0022ffc1d6f526d4be57d34ba3d (patch) | |
tree | 596d38d591177ccc2ffef695b6f79437c5efce97 /indra/llcorehttp/httpcommon.cpp | |
parent | 6362aa300766484909cdfc8884edf3e6744fc727 (diff) | |
parent | 19d063952c4706d4344f207775aa5dfdff8802fd (diff) |
Merged in merge-6.4.6 (pull request #207)
Merge master 6.4.6 into DRTVWR-510 (VS2017 update)
Diffstat (limited to 'indra/llcorehttp/httpcommon.cpp')
-rw-r--r-- | indra/llcorehttp/httpcommon.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcorehttp/httpcommon.cpp b/indra/llcorehttp/httpcommon.cpp index 7c93c54cdf..e37a38b05f 100644 --- a/indra/llcorehttp/httpcommon.cpp +++ b/indra/llcorehttp/httpcommon.cpp @@ -40,6 +40,7 @@ #include <sstream> #if SAFE_SSL #include <openssl/crypto.h> +#include <functional> // std::hash #endif @@ -369,7 +370,8 @@ void ssl_locking_callback(int mode, int type, const char *file, int line) //static unsigned long ssl_thread_id(void) { - return LLThread::currentID(); + // std::thread::id is very deliberately opaque, but we can hash it + return std::hash<LLThread::id_t>()(LLThread::currentID()); } #endif |