diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-05-07 20:32:04 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-05-07 20:32:04 -0400 |
commit | 26fb5d7af70f20c9a125575e1d93f7ff4bcd4f3c (patch) | |
tree | 2eefde15cd779dfb8398f774c63c2d5b1cbcdfc9 /indra/llinventory | |
parent | ce65bc2f13409d75dbc6502c970030cc5ed2e5ad (diff) |
SL-15241: Tweak viewer sources to permit compiling on Mac with C++17.
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llparcel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp index e2469f3c7e..2f577bfb07 100644 --- a/indra/llinventory/llparcel.cpp +++ b/indra/llinventory/llparcel.cpp @@ -1268,5 +1268,5 @@ U32 LLParcel::countExperienceKeyType( U32 type ) return std::count_if( boost::begin(mExperienceKeys | boost::adaptors::map_values), boost::end(mExperienceKeys | boost::adaptors::map_values), - std::bind2nd(std::equal_to<U32>(), type)); + [type](U32 key){ return key == type; }); } |