Commit c33f21f8 by Abseil Team Committed by Andy Getz

Export of internal Abseil changes

--
199bdbf9ad253b216ed6c6386bf69bc706330204 by Abseil Team <absl-team@google.com>:

Import of CCTZ from GitHub.

PiperOrigin-RevId: 435425408
Change-Id: I502d21ca5771d14e24fe41b28dc562ea6274996d

--
245a761e96f53857cef9c2359eac9d4bbcfdfd47 by Abseil Team <absl-team@google.com>:

Fix a -Wsign-compare -Wconversion problem in absl::btree discovered while getting cachelib to compile with those flags enabled.

PiperOrigin-RevId: 435419108
Change-Id: I0a9fa53d0163f678dde8960410315a5bc8445c72
GitOrigin-RevId: 199bdbf9ad253b216ed6c6386bf69bc706330204
parent 9f5b2c78
...@@ -631,7 +631,8 @@ class btree_node { ...@@ -631,7 +631,8 @@ class btree_node {
// Compute how many values we can fit onto a leaf node taking into account // Compute how many values we can fit onto a leaf node taking into account
// padding. // padding.
constexpr static size_type NodeTargetSlots(const int begin, const int end) { constexpr static size_type NodeTargetSlots(const size_type begin,
const size_type end) {
return begin == end ? begin return begin == end ? begin
: SizeWithNSlots((begin + end) / 2 + 1) > : SizeWithNSlots((begin + end) / 2 + 1) >
params_type::kTargetNodeSize params_type::kTargetNodeSize
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment