Commit c594d0ae authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: carp() method is const

parent f028c980
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment