mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -66,7 +66,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
List<List<label> > lll(5);
|
||||
List<List<label>> lll(5);
|
||||
lll[0].setSize(3, 0);
|
||||
lll[1].setSize(2, 1);
|
||||
lll[2].setSize(6, 2);
|
||||
@ -88,7 +88,7 @@ int main(int argc, char *argv[])
|
||||
cll2(2, 3) = 999;
|
||||
Info<< "cll2(2, 3) = " << cll2(2, 3) << nl << endl;
|
||||
|
||||
Info<< "cll2 as List<List<label > > " << cll2()
|
||||
Info<< "cll2 as List<List<label >> " << cll2()
|
||||
<< endl;
|
||||
|
||||
cll2.setSize(3);
|
||||
|
||||
Reference in New Issue
Block a user