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
|
FatalError
|
||||||
<< "####" << nl
|
<< "####" << nl
|
||||||
|
|||||||
@ -272,7 +272,7 @@ protected:
|
|||||||
|
|
||||||
//- Report it is unavailable, emitting a FatalError for try/catch
|
//- Report it is unavailable, emitting a FatalError for try/catch
|
||||||
//- in the caller
|
//- in the caller
|
||||||
void carp(std::string message = "");
|
void carp(std::string message = "") const;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user