range-loop-add-ref
This commit is contained in:
parent
018da8727b
commit
b1652d77bf
@ -15,5 +15,12 @@ int main( int argc, char** argv )
|
||||
qDebug() << i;
|
||||
}
|
||||
|
||||
// loop add ref
|
||||
QStringList sl;
|
||||
for (auto s: sl)
|
||||
{
|
||||
qDebug() << s;
|
||||
}
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user