mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 22:14:35 +02:00
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){
|
||||
++depth;
|
||||
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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user