STYLE: carp() method is const

This commit is contained in:
Mark Olesen
2018-12-16 22:07:56 +01:00
parent f028c98025
commit c594d0ae91
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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: