mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Removed use of the deprecated "register" keyword
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
This commit is contained in:
@ -279,7 +279,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
sqrMergeTol /= 10.0;
|
||||
|
||||
register bool found = false;
|
||||
bool found = false;
|
||||
|
||||
// N-squared point search over all points of all faces of
|
||||
// master block over all point of all faces of slave block
|
||||
@ -354,7 +354,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
|
||||
register bool changedPointMerge = false;
|
||||
bool changedPointMerge = false;
|
||||
label nPasses = 0;
|
||||
|
||||
do
|
||||
|
||||
@ -604,7 +604,7 @@ endOfSection {space}")"{space}
|
||||
|
||||
<readCellData>{space}{lbrac} {
|
||||
// Quickly scan to the end of the cell data block and discard
|
||||
register int c;
|
||||
int c;
|
||||
while ((c = yyinput()) != 0 && c != ')')
|
||||
{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user