Avoid Visual C++ warning C4127

This commit is contained in:
Daniel James
2017-02-27 12:20:37 +00:00
committed by GitHub
parent 4aa74e5feb
commit da370a6a1a

View File

@ -3499,7 +3499,7 @@ template <typename N> struct node_algo
{
node_pointer n = next_node(prev);
std::size_t hash = n->hash_;
while (true) {
for (;;) {
node_pointer next = next_node(n);
if (!next || next->hash_ != hash) {
return n;