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:
@ -525,7 +525,7 @@ bool doCommand
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Foam::IOerror& fIOErr)
|
||||
catch (const Foam::IOerror& fIOErr)
|
||||
{
|
||||
ok = false;
|
||||
|
||||
@ -536,7 +536,7 @@ bool doCommand
|
||||
Pout<< topoSetSource::usage(sourceType).c_str();
|
||||
}
|
||||
}
|
||||
catch (Foam::error& fErr)
|
||||
catch (const Foam::error& fErr)
|
||||
{
|
||||
ok = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user