revert changes

This commit is contained in:
Vogel, Rick 2023-08-03 13:05:25 +02:00
parent 6222667f58
commit 7eea017b7d
1 changed files with 2 additions and 1 deletions

View File

@ -26,8 +26,9 @@ namespace QskSGNode
if constexpr ( mode == Recursive ) if constexpr ( mode == Recursive )
{ {
QSGNode* current = root;
( (
[ current = root ]( QSGNode* const child ) mutable { [ &current ]( QSGNode* const child ) mutable {
current->appendChildNode( child ); current->appendChildNode( child );
current = child; current = child;
}( new Children ), }( new Children ),