mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use const reference for caught exceptions
This commit is contained in:
@ -226,9 +226,9 @@ int main(int argc, char *argv[])
|
||||
// Report to output (avoid overwriting values from simulation)
|
||||
profiling::print(Info);
|
||||
}
|
||||
catch (Foam::IOerror& err)
|
||||
catch (const Foam::IOerror& err)
|
||||
{
|
||||
Warning<< err << endl;
|
||||
Warning << err << endl;
|
||||
}
|
||||
|
||||
Info<< endl;
|
||||
|
||||
Reference in New Issue
Block a user