mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: carp() method is const
This commit is contained in:
@ -184,7 +184,10 @@ Foam::functionObject::unavailableFunctionObject::unavailableFunctionObject
|
||||
{}
|
||||
|
||||
|
||||
void Foam::functionObject::unavailableFunctionObject::carp(std::string message)
|
||||
void Foam::functionObject::unavailableFunctionObject::carp
|
||||
(
|
||||
std::string message
|
||||
) const
|
||||
{
|
||||
FatalError
|
||||
<< "####" << nl
|
||||
|
||||
@ -272,7 +272,7 @@ protected:
|
||||
|
||||
//- Report it is unavailable, emitting a FatalError for try/catch
|
||||
//- in the caller
|
||||
void carp(std::string message = "");
|
||||
void carp(std::string message = "") const;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user