forked from boostorg/intrusive
Merge pull request #48 from stellarscience/patch-1
MSVC "assignment within conditional" warning fix
This commit is contained in:
@@ -1012,7 +1012,8 @@ class bstree_algorithms : public bstree_algorithms_base<NodeTraits>
|
|||||||
while(x){
|
while(x){
|
||||||
++depth;
|
++depth;
|
||||||
y = x;
|
y = x;
|
||||||
x = (left_child = comp(key, x)) ?
|
left_child = comp(key, x);
|
||||||
|
x = left_child ?
|
||||||
NodeTraits::get_left(x) : (prev = y, NodeTraits::get_right(x));
|
NodeTraits::get_left(x) : (prev = y, NodeTraits::get_right(x));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user