]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix clang (with its own libc++) build after 9865de7 (#661)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 9 Jun 2020 02:04:45 +0000 (02:04 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 10 Jun 2020 16:31:28 +0000 (16:31 +0000)
commitab36c3dcc2779bae23d3c6ef1de854dc892c4fef
tree24f762fd4a5b3a23fe3578173b5fbf92414ecea7
parentd13b66167d8864485f5448fbc4ae7c7e02619e2a
Fix clang (with its own libc++) build after 9865de7 (#661)

Compilers that check allocator/container value_type matching detected a
mismatch because multimap::value_type is _not_ std::pair<key,T> but
std::pair<const key,T>!

Symptoms (when compiling files that include src/PingData.h):

     Allocator::value_type must be same type as value_type
src/PingData.h