range-loop-add-ref

This commit is contained in:
Andrei Astafev 2020-04-19 00:15:57 +03:00
parent 018da8727b
commit b1652d77bf

View File

@ -15,5 +15,12 @@ int main( int argc, char** argv )
qDebug() << i; qDebug() << i;
} }
// loop add ref
QStringList sl;
for (auto s: sl)
{
qDebug() << s;
}
return( 0 ); return( 0 );
} }